]> git.baikalelectronics.ru Git - kernel.git/commit
udp: expose inet cork to udp
authorWillem de Bruijn <willemb@google.com>
Thu, 26 Apr 2018 17:42:15 +0000 (13:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2018 19:06:46 +0000 (15:06 -0400)
commit1e909632061594cdf75ef75e8cd18fcc043432d5
treeb48749c800e0e4ead8e70fd87dfe8008f7113ccf
parent497c75e1a54303aed099afc287e6ef427333cb70
udp: expose inet cork to udp

UDP segmentation offload needs access to inet_cork in the udp layer.
Pass the struct to ip(6)_make_skb instead of allocating it on the
stack in that function itself.

This patch is a noop otherwise.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
include/net/ipv6.h
net/ipv4/ip_output.c
net/ipv4/udp.c
net/ipv6/ip6_output.c
net/ipv6/udp.c