diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-07-11 02:07:10 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-08-20 21:45:13 +0200 |
commit | 8d5930dfb7edbf136f2d9900be34ca7af4ba38c1 (patch) | |
tree | 907ac83ca0b3f85725ffff737f4f96a4554dc059 /drivers/net/ethernet/sun | |
parent | Linux 5.9-rc1 (diff) | |
download | linux-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 'drivers/net/ethernet/sun')
-rw-r--r-- | drivers/net/ethernet/sun/sunvnet_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/sunvnet_common.c b/drivers/net/ethernet/sun/sunvnet_common.c index 8dc6c9ff22e1..80fde5f06fce 100644 --- a/drivers/net/ethernet/sun/sunvnet_common.c +++ b/drivers/net/ethernet/sun/sunvnet_common.c @@ -1168,7 +1168,7 @@ static inline struct sk_buff *vnet_skb_shape(struct sk_buff *skb, int ncookies) *(__sum16 *)(skb->data + offset) = 0; csum = skb_copy_and_csum_bits(skb, start, nskb->data + start, - skb->len - start, 0); + skb->len - start); /* add in the header checksums */ if (skb->protocol == htons(ETH_P_IP)) { |