]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfdb5bb91e797a4785a5c5c83cc6c7a135f21126e
tree187e996dd064f32b17528c357bf07149be77012b
parent01687fcdb3b1f9f9abdfe9fefdff805e14c1ebe3
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