diff options
author | Li RongQing <lirongqing@baidu.com> | 2019-07-04 11:03:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-06 00:30:36 +0200 |
commit | e4aa33ad595936391f7356f25c0c839011f14ead (patch) | |
tree | 19e13551c2a103bc807c133d176db4af7eff70f4 /net/ipv4/gre_demux.c | |
parent | Merge branch 'mlxsw-Enable-disable-PTP-shapers' (diff) | |
download | linux-e4aa33ad595936391f7356f25c0c839011f14ead.tar.xz linux-e4aa33ad595936391f7356f25c0c839011f14ead.zip |
net: remove unused parameter from skb_checksum_try_convert
the check parameter is never used
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/gre_demux.c')
-rw-r--r-- | net/ipv4/gre_demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/gre_demux.c b/net/ipv4/gre_demux.c index 293acfb36376..44bfeecac33e 100644 --- a/net/ipv4/gre_demux.c +++ b/net/ipv4/gre_demux.c @@ -83,7 +83,7 @@ int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi, options = (__be32 *)(greh + 1); if (greh->flags & GRE_CSUM) { if (!skb_checksum_simple_validate(skb)) { - skb_checksum_try_convert(skb, IPPROTO_GRE, 0, + skb_checksum_try_convert(skb, IPPROTO_GRE, null_compute_pseudo); } else if (csum_err) { *csum_err = true; |