diff options
author | Li RongQing <lirongqing@baidu.com> | 2020-01-03 06:51:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-03 23:24:34 +0300 |
commit | b39c78b2aa09cae05f3a48c11f67b3add0d604de (patch) | |
tree | 0fff1acc6845969a2aeebb2771752d6c1260a48d /net/ipv4/udp_offload.c | |
parent | 4a883ccfba3adefc7123ec1a6da3c7301a56ce97 (diff) | |
download | linux-b39c78b2aa09cae05f3a48c11f67b3add0d604de.tar.xz |
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/udp_offload.c')
-rw-r--r-- | net/ipv4/udp_offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp_offload.c b/net/ipv4/udp_offload.c index a3908e55ed89..b25e42100ceb 100644 --- a/net/ipv4/udp_offload.c +++ b/net/ipv4/udp_offload.c @@ -480,7 +480,7 @@ struct sk_buff *udp4_gro_receive(struct list_head *head, struct sk_buff *skb) inet_gro_compute_pseudo)) goto flush; else if (uh->check) - skb_gro_checksum_try_convert(skb, IPPROTO_UDP, uh->check, + skb_gro_checksum_try_convert(skb, IPPROTO_UDP, inet_gro_compute_pseudo); skip: NAPI_GRO_CB(skb)->is_ipv6 = 0; |