diff options
author | Tom Herbert <therbert@google.com> | 2014-06-10 21:54:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-11 18:46:13 -0400 |
commit | 6bae1d4cc395ad46613e40c9e865ee171dc9de5c (patch) | |
tree | 9eac0e7a5cf38fd37f0cb364ffb6a3e90cce3c88 /net | |
parent | 7e3cead5172927732f51fde77fef6f521e22f209 (diff) |
net: Add skb_gro_postpull_rcsum to udp and vxlan
Need to gro_postpull_rcsum for GRO to work with checksum complete.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/udp_offload.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/udp_offload.c b/net/ipv4/udp_offload.c index 7b1840110173..546d2d439dda 100644 --- a/net/ipv4/udp_offload.c +++ b/net/ipv4/udp_offload.c | |||
@@ -200,6 +200,7 @@ unflush: | |||
200 | } | 200 | } |
201 | 201 | ||
202 | skb_gro_pull(skb, sizeof(struct udphdr)); /* pull encapsulating udp header */ | 202 | skb_gro_pull(skb, sizeof(struct udphdr)); /* pull encapsulating udp header */ |
203 | skb_gro_postpull_rcsum(skb, uh, sizeof(struct udphdr)); | ||
203 | pp = uo_priv->offload->callbacks.gro_receive(head, skb); | 204 | pp = uo_priv->offload->callbacks.gro_receive(head, skb); |
204 | 205 | ||
205 | out_unlock: | 206 | out_unlock: |