scsi: libcxgbi: in case of vlan pass 0 as ifindex to find route
authorVarun Prakash <varun@chelsio.com>
Tue, 10 Oct 2017 13:55:30 +0000 (19:25 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Oct 2017 18:24:58 +0000 (14:24 -0400)
commit4c2a02157fdd5dc71de7cf42eff07576746eb450
treed334237d1f5e3f0f3eaeb6062871ccfb59468e13
parent607162140d8ab62c8fabb0992bd798edf9f97466
scsi: libcxgbi: in case of vlan pass 0 as ifindex to find route

In case of vlan pass 0 as ifindex to find route instead of passing
real_dev ifindex, if we pass real_dev ifindex then
ip_route_output_ports() and ip6_route_output() will check for route
through real_dev not through vlan interface.

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