://www.bull.com
From: Benjamin Thery [EMAIL PROTECTED]
Subject: netns: fix restoration of original /proc values (ip_forward...)
This small patches make the restoration of
/proc/sys/net/ipv4/ip_forward
/proc/sys/net/ipv4/conf/$netdev/proxy_arp
works as expected in netns/initialize.sh.
Also removed some
:
//if (!kernel_version_newenough())
Otherwise, these changes looks good.
Acked-by: Benjamin Thery [EMAIL PROTECTED]
Benjamin
Signed off by Veerendra C [EMAIL PROTECTED]
ACKed by Serge Hallyn [EMAIL PROTECTED]
Acked-by: Benjamin Thery [EMAIL PROTECTED]
Removed the redundant line for passing the status value .
As the status variable value would be preserved in the scripts.
--- containers.old/netns/child.sh
- Establishes the connection between parent NS and child NS.
Signed off by Veerendra C [EMAIL PROTECTED]
ACKed by Serge Hallyn [EMAIL PROTECTED]
Acked-by: Benjamin Thery [EMAIL PROTECTED]
Included the header file.
--- containers.old/netns/par_chld_ftp.c 2008-09-08 17:18
Veerendra wrote:
This patch has 4 files..
check_netns_enabled.c - checks for the network ns is enabled
initialize.sh - Initializes the common functions and variables
Makefile - Makefile
runnetnstest.sh - Creates a batch file to run the tests.
It is me or the patch only contains 2 files:
to child NS
Signed off by Veerendra C [EMAIL PROTECTED]
ACKed by Serge Hallyn [EMAIL PROTECTED]
Acked-by: Benjamin Thery [EMAIL PROTECTED]
Modified to exit with the proper Status value.
--- containers.old/netns/childipv6.sh 2008-09-08 17:18:28.0 +0530
+++ containers
PROTECTED]
ACKed by Serge Hallyn [EMAIL PROTECTED]
Acked-by: Benjamin Thery [EMAIL PROTECTED]
--- containers.old/netns/crtchild_delchild.c 2008-09-08 17:18:28.0
+0530
+++ containers/netns/crtchild_delchild.c 2008-09-10 01:06:42.0
+0530
@@ -29,7 +29,7
.
sysfsview.c - Basic program to create namespaces for sysfs checking
Signed off by Veerendra C [EMAIL PROTECTED]
ACKed by Serge Hallyn [EMAIL PROTECTED]
Acked-by: Benjamin Thery [EMAIL PROTECTED]
Renamed the file to child_propagate.sh to address the spelling change
two_children_ns.c - Basic file to create the 2 children NS
Signed off by Veerendra C [EMAIL PROTECTED]
ACKed by Serge Hallyn [EMAIL PROTECTED]
Acked-by: Benjamin Thery [EMAIL PROTECTED]
--- containers.old/netns/child_1.sh 2008-09-08 17:18:28.0 +0530
+++ containers/netns