mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
ifb: fix packets checksum
Fixup the checksum for CHECKSUM_COMPLETE when pulling skbs on RX path. Otherwise we get splats when tc mirred is used to redirect packets to ifb. Before fix: nic: hw csum failure Signed-off-by: Jon Maxwell <jmaxwell37@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
049ff57a2a
commit
b1d2e4e03f
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ static void ifb_ri_tasklet(unsigned long _txp)
|
|||
if (!skb->tc_from_ingress) {
|
||||
dev_queue_xmit(skb);
|
||||
} else {
|
||||
skb_pull(skb, skb->mac_len);
|
||||
skb_pull_rcsum(skb, skb->mac_len);
|
||||
netif_receive_skb(skb);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue