Pass real namespace in net scheduler classifiers.
Subsystems (3)
PATCH 1/1 Pass real namespace in net scheduler classifiers.
Signed-off-by Denis V. Lunev <[email protected]>
--- include/net/pkt_cls.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/net/pkt_cls.h +1 -1
@@ -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 ; }
Signature · 1 line
1.5.3.rc5
From: "Denis V. Lunev" <[email protected]>
Date: Thu, 27 Mar 2008 11:06:23 +0300
Quoted 1 line
Signed-off-by Denis V. Lunev <[email protected]>
Applied to net-2.6.26, thanks.