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)
commitf7ba868b71bc858cf06de11fc8150c4552cfad81
treeee3ef636a8e732e60009dd72348790c163934e04
parent3bfd847203c6d89532f836ad3f5b4ff4ced26dd9
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