]> git.baikalelectronics.ru Git - kernel.git/commit
udp: Handle VRF device in sendmsg
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 13 Aug 2015 20:59:03 +0000 (14:59 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2015 05:43:20 +0000 (22:43 -0700)
commit0341ff60d0e93d2bf27211ca7f6804dfdba2479d
tree18eba420d03d86045cefe2679f4e6e09a7120871
parentb8ceeef2ca2c708688605c9785d7686428c8a6dc
udp: Handle VRF device in sendmsg

For unconnected UDP sockets using a VRF device lookup source address
based on VRF table. This allows the UDP header to be properly setup
before showing up at the VRF device via the dst.

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