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>
Showing
- include/net/ip.h 1 addition, 1 deletioninclude/net/ip.h
- include/net/ipv6.h 1 addition, 0 deletionsinclude/net/ipv6.h
- net/ipv4/ip_output.c 8 additions, 9 deletionsnet/ipv4/ip_output.c
- net/ipv4/udp.c 3 additions, 1 deletionnet/ipv4/udp.c
- net/ipv6/ip6_output.c 10 additions, 10 deletionsnet/ipv6/ip6_output.c
- net/ipv6/udp.c 2 additions, 1 deletionnet/ipv6/udp.c
Please register or sign in to comment