OpenVZ Forum


Home » Mailing lists » Devel » [patch 00/20] [Network namespace] Introduction
[patch 13/20] [Network namespace] fix silly ifdef error [message #16905 is a reply to message #16892] Sun, 10 December 2006 21:58 Go to previous messageGo to previous message
Daniel Lezcano is currently offline  Daniel Lezcano
Messages: 417
Registered: June 2006
Senior Member
Replace-Subject: fix silly ifdef error

Signed-off-by: Daniel Lezcano <dlezcano@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@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] ncpfs: Use struct pid to track the userspace watchdog process.
Next Topic: Re: [patch 06/20] [Network namespace] Move the nsproxy NULL affection
Goto Forum:
  


Current Time: Thu Oct 09 06:21:17 GMT 2025

Total time taken to generate the page: 0.08271 seconds