diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-12-16 16:32:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:12 -0500 |
commit | 586f12115264b767ea6a48ce081ca25a39c1e3dd (patch) | |
tree | 48bb41f07d4dc2a1e0d9f9d71286594d3b9800fa /net/ipv4/route.c | |
parent | 9355bbd685bf705a7f7bd6470b92ca0562c7a661 (diff) |
[IPV4]: Switch users of ipv4_devconf(_all) to use the pernet one
These are scattered over the code, but almost all the
"critical" places already have the proper struct net
at hand except for snmp proc showing function and routing
rtnl handler.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 1b70ffd12615..36c7add8de84 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -2619,7 +2619,7 @@ static int rt_fill_info(struct sk_buff *skb, u32 pid, u32 seq, int event, | |||
2619 | __be32 dst = rt->rt_dst; | 2619 | __be32 dst = rt->rt_dst; |
2620 | 2620 | ||
2621 | if (MULTICAST(dst) && !LOCAL_MCAST(dst) && | 2621 | if (MULTICAST(dst) && !LOCAL_MCAST(dst) && |
2622 | IPV4_DEVCONF_ALL(MC_FORWARDING)) { | 2622 | IPV4_DEVCONF_ALL(&init_net, MC_FORWARDING)) { |
2623 | int err = ipmr_get_route(skb, r, nowait); | 2623 | int err = ipmr_get_route(skb, r, nowait); |
2624 | if (err <= 0) { | 2624 | if (err <= 0) { |
2625 | if (!nowait) { | 2625 | if (!nowait) { |