ipv6: Introduce udpv6_send_skb()
authorVlad Yasevich <vyasevich@gmail.com>
Sat, 31 Jan 2015 15:40:16 +0000 (10:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2015 03:28:04 +0000 (19:28 -0800)
commitd39d938c8228a4c5860138a53cf2b9ae4c4baec2
tree187e996dd064f32b17528c357bf07149be77012b
parent6422398c2ab09268a55112f98cbf96bbf0184328
ipv6: Introduce udpv6_send_skb()

Now that we can individually construct IPv6 skbs to send, add a
udpv6_send_skb() function to populate the udp header and send the
skb.  This allows udp_v6_push_pending_frames() to re-use this
function as well as enables us to add lockless sendmsg() support.

Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c