]> git.baikalelectronics.ru Git - kernel.git/commit
net: Use VRF index for oif in ip_send_unicast_reply
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 13 Aug 2015 20:59:08 +0000 (14:59 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2015 05:43:21 +0000 (22:43 -0700)
commitf6e9842810310486fade44cac9c87fc03af2341e
treeee3ef636a8e732e60009dd72348790c163934e04
parent2380f43c75caef1a9afde8e73b035fda0a41a77e
net: Use VRF index for oif in ip_send_unicast_reply

If output device is not specified use VRF device if input device is
enslaved. This is needed to ensure tcp acks and resets go out VRF device.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c