[Devel] [patch 13/20] [Network namespace] fix silly ifdef error

dlezcano at fr.ibm.com dlezcano at fr.ibm.com
Sun Dec 10 13:58:30 PST 2006


Replace-Subject: fix silly ifdef error

Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

---

 net/ipv4/route.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: 2.6.19-rc6-mm2/net/ipv4/route.c
===================================================================
--- 2.6.19-rc6-mm2.orig/net/ipv4/route.c
+++ 2.6.19-rc6-mm2/net/ipv4/route.c
@@ -2536,7 +2536,7 @@ static int ip_route_output_slow(struct r
 
 	if (res.type == RTN_LOCAL) {
 		if (!fl.fl4_src)
-#ifdef CONFIG_NET
+#ifdef CONFIG_NET_NS
 			fl.fl4_src = net_ns_select_source_address(dev_out, 0,
 								  RT_SCOPE_LINK);
 #else

-- 
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list