Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43174
b: refs/heads/master
c: 5c804bf
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Dec 7, 2006
1 parent aff99eb commit ed36198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: f216f082b2b37c4943f1e7c393e2786648d48f6f
refs/heads/master: 5c804bfdcca2593422dd6edc2d7db4dba645543c
3 changes: 2 additions & 1 deletion trunk/net/sched/cls_fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ static int fw_classify(struct sk_buff *skb, struct tcf_proto *tp,
struct fw_head *head = (struct fw_head*)tp->root;
struct fw_filter *f;
int r;
u32 id = skb->mark & head->mask;
u32 id = skb->mark;

if (head != NULL) {
id &= head->mask;
for (f=head->ht[fw_hash(id)]; f; f=f->next) {
if (f->id == id) {
*res = f->res;
Expand Down

0 comments on commit ed36198

Please sign in to comment.