summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-07-10 20:07:10 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2020-08-20 15:45:13 -0400
commit8d5930dfb7edbf136f2d9900be34ca7af4ba38c1 (patch)
tree907ac83ca0b3f85725ffff737f4f96a4554dc059 /net/ipv6/ip6_output.c
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
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/ipv6/ip6_output.c')
-rw-r--r--net/ipv6/ip6_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index c78e67d7747f..2689498157d1 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -1615,7 +1615,7 @@ alloc_new_skb:
if (fraggap) {
skb->csum = skb_copy_and_csum_bits(
skb_prev, maxfraglen,
- data + transhdrlen, fraggap, 0);
+ data + transhdrlen, fraggap);
skb_prev->csum = csum_sub(skb_prev->csum,
skb->csum);
data += fraggap;