summaryrefslogtreecommitdiff
path: root/net/ipv4/gre_offload.c
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2020-01-03 11:51:00 +0800
committerDavid S. Miller <davem@davemloft.net>2020-01-03 12:24:34 -0800
commitb39c78b2aa09cae05f3a48c11f67b3add0d604de (patch)
tree0fff1acc6845969a2aeebb2771752d6c1260a48d /net/ipv4/gre_offload.c
parent4a883ccfba3adefc7123ec1a6da3c7301a56ce97 (diff)
net: remove the check argument from __skb_gro_checksum_convert
The argument is always ignored, so remove it. Signed-off-by: Li RongQing <lirongqing@baidu.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/gre_offload.c')
-rw-r--r--net/ipv4/gre_offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/gre_offload.c b/net/ipv4/gre_offload.c
index 4de7e962d3da..2e6d1b7a7bc9 100644
--- a/net/ipv4/gre_offload.c
+++ b/net/ipv4/gre_offload.c
@@ -174,7 +174,7 @@ static struct sk_buff *gre_gro_receive(struct list_head *head,
if (skb_gro_checksum_simple_validate(skb))
goto out_unlock;
- skb_gro_checksum_try_convert(skb, IPPROTO_GRE, 0,
+ skb_gro_checksum_try_convert(skb, IPPROTO_GRE,
null_compute_pseudo);
}