]> 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)
commit9cd865d9ddb8a54789a311044013d75c80ed45e7
treeee3ef636a8e732e60009dd72348790c163934e04
parent088e3db430a1658f533cf9be7ec07758d5ce2bb6
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