diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-27 16:53:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-27 16:53:37 -0700 |
commit | 09382bac667821017144de6b733a26f29a1c185b (patch) | |
tree | bad40eeb43a6166d92d9c91cd20a4b987f405be6 /include/net/pkt_cls.h | |
parent | 2d38f9a4f8d2ebdc799f03eecf82345825495711 (diff) | |
download | kernel_goldelico_gta04-09382bac667821017144de6b733a26f29a1c185b.zip kernel_goldelico_gta04-09382bac667821017144de6b733a26f29a1c185b.tar.gz kernel_goldelico_gta04-09382bac667821017144de6b733a26f29a1c185b.tar.bz2 |
[PKT_SCHED]: Pass real namespace in net scheduler classifiers.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r-- | include/net/pkt_cls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index d349c66..aa9e282 100644 --- 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; } |