projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2bceb3
)
net_sched: fix port mirror/redirect stats reporting
author
Jamal Hadi Salim
<jhs@mojatatu.com>
Mon, 15 Aug 2011 05:25:40 +0000
(
05:25
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Aug 2011 03:10:20 +0000
(20:10 -0700)
When a redirected or mirrored packet is dropped by the target
device we need to record statistics.
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/act_mirred.c
b/net/sched/act_mirred.c
index 102fc212cd64093726dffa311ba41716d2cc0250..e051398fdf6baf4834bbe21bf13deac081594148 100644
(file)
--- a/
net/sched/act_mirred.c
+++ b/
net/sched/act_mirred.c
@@
-196,8
+196,7
@@
static int tcf_mirred(struct sk_buff *skb, const struct tc_action *a,
skb2->skb_iif = skb->dev->ifindex;
skb2->dev = dev;
- dev_queue_xmit(skb2);
- err = 0;
+ err = dev_queue_xmit(skb2);
out:
if (err) {