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)
commit1cd7884dfd78df6284d27b008823b0b4a808f196
treeb48749c800e0e4ead8e70fd87dfe8008f7113ccf
parenta9537c937c1790b62de5e2789e67c0bf439b11ea
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