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>
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user