projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net_sched: fix mirrored packets checksum
[firefly-linux-kernel-4.4.55.git]
/
net
/
sched
/
act_mirred.c
diff --git
a/net/sched/act_mirred.c
b/net/sched/act_mirred.c
index 32fcdecdb9e2074bad6f3e3002738e9c289317c3..e384d6aefa3a6cf7dc763a104091644dcef156cf 100644
(file)
--- a/
net/sched/act_mirred.c
+++ b/
net/sched/act_mirred.c
@@
-170,7
+170,7
@@
static int tcf_mirred(struct sk_buff *skb, const struct tc_action *a,
if (!(at & AT_EGRESS)) {
if (m->tcfm_ok_push)
- skb_push(skb2, skb->mac_len);
+ skb_push
_rcsum
(skb2, skb->mac_len);
}
/* mirror is always swallowed */