Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195283
b: refs/heads/master
c: b60b659
h: refs/heads/master
i:
  195281: 5a3ef86
  195279: 2bb03f4
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed May 18, 2010
1 parent a21b1b1 commit a32b2e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 207024b9477e253859abfc30f1ff314cd6008b24
refs/heads/master: b60b6592baa69c43a5a0f55d6300a7feaab15338
9 changes: 6 additions & 3 deletions trunk/net/sched/sch_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1637,9 +1637,12 @@ int tc_classify(struct sk_buff *skb, struct tcf_proto *tp,
tp = otp;

if (verd++ >= MAX_REC_LOOP) {
printk("rule prio %u protocol %02x reclassify loop, "
"packet dropped\n",
tp->prio&0xffff, ntohs(tp->protocol));
if (net_ratelimit())
printk(KERN_NOTICE
"%s: packet reclassify loop"
" rule prio %u protocol %02x\n",
tp->q->ops->id,
tp->prio & 0xffff, ntohs(tp->protocol));
return TC_ACT_SHOT;
}
skb->tc_verd = SET_TC_VERD(skb->tc_verd, verd);
Expand Down

0 comments on commit a32b2e1

Please sign in to comment.