projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d38f9a
)
[PKT_SCHED]: Pass real namespace in net scheduler classifiers.
author
Denis V. Lunev
<den@openvz.org>
Thu, 27 Mar 2008 23:53:37 +0000
(16:53 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 27 Mar 2008 23:53:37 +0000
(16:53 -0700)
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/pkt_cls.h
b/include/net/pkt_cls.h
index d349c66ef8281029689dd7859f88b9c7afd63928..aa9e282db4855ffe0733f72f6e25b3cc89b913bc 100644
(file)
--- a/
include/net/pkt_cls.h
+++ b/
include/net/pkt_cls.h
@@
-353,7
+353,7
@@
tcf_match_indev(struct sk_buff *skb, char *indev)
if (indev[0]) {
if (!skb->iif)
return 0;
- dev = __dev_get_by_index(
&init_net
, skb->iif);
+ dev = __dev_get_by_index(
dev_net(skb->dev)
, skb->iif);
if (!dev || strcmp(indev, dev->name))
return 0;
}