]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[NETNS]: Enable TCP/UDP/ICMP inside namespace.
authorDenis V. Lunev <den@openvz.org>
Mon, 24 Mar 2008 22:34:06 +0000 (15:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2008 22:34:06 +0000 (15:34 -0700)
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c
net/ipv4/udplite.c

index 39ddb84b1b783b2b9d2aca2bf18681dee52325af..06cfb0bed631833aceeeb4b82ff00780f1b5626b 100644 (file)
@@ -1302,17 +1302,20 @@ static struct net_protocol tcp_protocol = {
        .gso_send_check = tcp_v4_gso_send_check,
        .gso_segment =  tcp_tso_segment,
        .no_policy =    1,
+       .netns_ok =     1,
 };
 
 static struct net_protocol udp_protocol = {
        .handler =      udp_rcv,
        .err_handler =  udp_err,
        .no_policy =    1,
+       .netns_ok =     1,
 };
 
 static struct net_protocol icmp_protocol = {
        .handler =      icmp_rcv,
        .no_policy =    1,
+       .netns_ok =     1,
 };
 
 static int __init init_ipv4_mibs(void)
index ddf4cc432796d6085e159002c54c2819610bb614..53f3ed496328a44208a35c0c120adc88eda0550b 100644 (file)
@@ -31,6 +31,7 @@ static        struct net_protocol udplite_protocol = {
        .handler        = udplite_rcv,
        .err_handler    = udplite_err,
        .no_policy      = 1,
+       .netns_ok       = 1,
 };
 
 DEFINE_PROTO_INUSE(udplite)