diff options
-rw-r--r-- | net/ipv4/af_inet.c | 3 | ||||
-rw-r--r-- | net/ipv4/udplite.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 39ddb84b1b78..06cfb0bed631 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -1302,17 +1302,20 @@ static struct net_protocol tcp_protocol = { | |||
1302 | .gso_send_check = tcp_v4_gso_send_check, | 1302 | .gso_send_check = tcp_v4_gso_send_check, |
1303 | .gso_segment = tcp_tso_segment, | 1303 | .gso_segment = tcp_tso_segment, |
1304 | .no_policy = 1, | 1304 | .no_policy = 1, |
1305 | .netns_ok = 1, | ||
1305 | }; | 1306 | }; |
1306 | 1307 | ||
1307 | static struct net_protocol udp_protocol = { | 1308 | static struct net_protocol udp_protocol = { |
1308 | .handler = udp_rcv, | 1309 | .handler = udp_rcv, |
1309 | .err_handler = udp_err, | 1310 | .err_handler = udp_err, |
1310 | .no_policy = 1, | 1311 | .no_policy = 1, |
1312 | .netns_ok = 1, | ||
1311 | }; | 1313 | }; |
1312 | 1314 | ||
1313 | static struct net_protocol icmp_protocol = { | 1315 | static struct net_protocol icmp_protocol = { |
1314 | .handler = icmp_rcv, | 1316 | .handler = icmp_rcv, |
1315 | .no_policy = 1, | 1317 | .no_policy = 1, |
1318 | .netns_ok = 1, | ||
1316 | }; | 1319 | }; |
1317 | 1320 | ||
1318 | static int __init init_ipv4_mibs(void) | 1321 | static int __init init_ipv4_mibs(void) |
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index ddf4cc432796..53f3ed496328 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c | |||
@@ -31,6 +31,7 @@ static struct net_protocol udplite_protocol = { | |||
31 | .handler = udplite_rcv, | 31 | .handler = udplite_rcv, |
32 | .err_handler = udplite_err, | 32 | .err_handler = udplite_err, |
33 | .no_policy = 1, | 33 | .no_policy = 1, |
34 | .netns_ok = 1, | ||
34 | }; | 35 | }; |
35 | 36 | ||
36 | DEFINE_PROTO_INUSE(udplite) | 37 | DEFINE_PROTO_INUSE(udplite) |