summaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-07-11 02:07:10 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2020-08-20 21:45:13 +0200
commit8d5930dfb7edbf136f2d9900be34ca7af4ba38c1 (patch)
tree907ac83ca0b3f85725ffff737f4f96a4554dc059 /net/ipv4/icmp.c
parentLinux 5.9-rc1 (diff)
downloadlinux-8d5930dfb7edbf136f2d9900be34ca7af4ba38c1.tar.xz
linux-8d5930dfb7edbf136f2d9900be34ca7af4ba38c1.zip
skb_copy_and_csum_bits(): don't bother with the last argument
it's always 0 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r--net/ipv4/icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index cf36f955bfe6..d15f78053ef4 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -352,7 +352,7 @@ static int icmp_glue_bits(void *from, char *to, int offset, int len, int odd,
csum = skb_copy_and_csum_bits(icmp_param->skb,
icmp_param->offset + offset,
- to, len, 0);
+ to, len);
skb->csum = csum_block_add(skb->csum, csum, odd);
if (icmp_pointers[icmp_param->data.icmph.type].error)