]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9a24abfa42613fefc68963a98c2b7ab7fd7e374c
tree18eba420d03d86045cefe2679f4e6e09a7120871
parent613d09b30f8b589d5a9b49775054c8865db95d1c
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