projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net, sched: add clsact qdisc
[linux-2.6-block.git]
/
net
/
sched
/
cls_bpf.c
diff --git
a/net/sched/cls_bpf.c
b/net/sched/cls_bpf.c
index b3c8bb4aeef5ce82d0675769dd61d8152fd16c5e..8dc84300ee79eef70ff350e373aef2c1d6df4625 100644
(file)
--- a/
net/sched/cls_bpf.c
+++ b/
net/sched/cls_bpf.c
@@
-291,7
+291,7
@@
static int cls_bpf_prog_from_efd(struct nlattr **tb, struct cls_bpf_prog *prog,
prog->bpf_name = name;
prog->filter = fp;
- if (fp->dst_needed)
+ if (fp->dst_needed
&& !(tp->q->flags & TCQ_F_INGRESS)
)
netif_keep_dst(qdisc_dev(tp->q));
return 0;