Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322024
b: refs/heads/master
c: 16c0b16
h: refs/heads/master
v: v3
  • Loading branch information
Jason Wang authored and David S. Miller committed Aug 16, 2012
1 parent 9c6d5d1 commit 2c0af15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43da5f2e0d0c69ded3d51907d9552310a6b545e8
refs/heads/master: 16c0b164bd24d44db137693a36b428ba28970c62
11 changes: 5 additions & 6 deletions trunk/net/sched/act_mirred.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,12 @@ static int tcf_mirred(struct sk_buff *skb, const struct tc_action *a,
out:
if (err) {
m->tcf_qstats.overlimits++;
/* should we be asking for packet to be dropped?
* may make sense for redirect case only
*/
retval = TC_ACT_SHOT;
} else {
if (m->tcfm_eaction != TCA_EGRESS_MIRROR)
retval = TC_ACT_SHOT;
else
retval = m->tcf_action;
} else
retval = m->tcf_action;
}
spin_unlock(&m->tcf_lock);

return retval;
Expand Down

0 comments on commit 2c0af15

Please sign in to comment.