]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libcxgbi: update route finding logic
authorVarun Prakash <varun@chelsio.com>
Sun, 14 Apr 2019 14:53:31 +0000 (20:23 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Apr 2019 02:14:20 +0000 (22:14 -0400)
commit02feaa4b788b0a4f8d2f58b5b5bdc085ebc4a23d
tree37e4e15c01c9324d10c829dd2081156d7be6d709
parent37118d1a805d70b8d67d2b099424193e03900fa4
scsi: libcxgbi: update route finding logic

To support vlan and bridge devices first find route using ifindex 0, if
route is not found through net device associated with input scsi host then
find route using ifindex of net device.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxgbi/libcxgbi.c