net_sched: fix mirrored packets checksum
authorWANG Cong <xiyou.wangcong@gmail.com>
Thu, 30 Jun 2016 17:15:22 +0000 (10:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 20:19:34 +0000 (16:19 -0400)
commit82a31b9231f02d9c1b7b290a46999d517b0d312a
tree1da59e437a0c406de78f8d60e2d9a6f880033c6f
parenteb70db8756717b90c01ccc765fdefc4dd969fc74
net_sched: fix mirrored packets checksum

Similar to commit 9b368814b336 ("net: fix bridge multicast packet checksum validation")
we need to fixup the checksum for CHECKSUM_COMPLETE when
pushing skb on RX path. Otherwise we get similar splats.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c
net/sched/act_mirred.c