]> git.baikalelectronics.ru Git - kernel.git/commit
udp: add support for UDP_GRO cmsg
authorPaolo Abeni <pabeni@redhat.com>
Wed, 7 Nov 2018 11:38:30 +0000 (12:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2018 00:23:04 +0000 (16:23 -0800)
commit4b00d7d6b2f890acfb19499f9169365751f44924
tree4e28d9a2711bdfa1069efdfb49350ede0e1d97f7
parent52d827791531f91780a32e9a000c88f51668b696
udp: add support for UDP_GRO cmsg

When UDP GRO is enabled, the UDP_GRO cmsg will carry the ingress
datagram size. User-space can use such info to compute the original
packets layout.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/udp.h
net/ipv4/udp.c
net/ipv6/udp.c