diff options
author | 2020-01-25 11:26:45 +0100 | |
---|---|---|
committer | 2020-01-27 11:00:21 +0100 | |
commit | 9fd1ff5d2ac7181844735806b0a703c942365291 (patch) | |
tree | dc6697a096ed3d15e4181bccab05baf25434ef02 /include | |
parent | net: Support GRO/GSO fraglist chaining. (diff) | |
download | linux-9fd1ff5d2ac7181844735806b0a703c942365291.tar.gz linux-9fd1ff5d2ac7181844735806b0a703c942365291.tar.bz2 linux-9fd1ff5d2ac7181844735806b0a703c942365291.zip |
udp: Support UDP fraglist GRO/GSO.
This patch extends UDP GRO to support fraglist GRO/GSO
by using the previously introduced infrastructure.
If the feature is enabled, all UDP packets are going to
fraglist GRO (local input and forward).
After validating the csum, we mark ip_summed as
CHECKSUM_UNNECESSARY for fraglist GRO packets to
make sure that the csum is not touched.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index bad74f780831..44e0e52b585c 100644 --- a/include/net/udp.h +++ b/include/net/udp.h @@ -167,7 +167,7 @@ typedef struct sock *(*udp_lookup_t)(struct sk_buff *skb, __be16 sport, __be16 dport); struct sk_buff *udp_gro_receive(struct list_head *head, struct sk_buff *skb, - struct udphdr *uh, udp_lookup_t lookup); + struct udphdr *uh, struct sock *sk); int udp_gro_complete(struct sk_buff *skb, int nhoff, udp_lookup_t lookup); struct sk_buff *__udp_gso_segment(struct sk_buff *gso_skb, |