[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20130204.154812.1991513835460386879.davem@davemloft.net>
Date: Mon, 04 Feb 2013 15:48:12 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: netdev@...r.kernel.org
Subject: [PATCH net-next] ipcomp: Mark as netns_ok.
This module is namespace aware, netns_ok was just disabled by default
for sanity.
Signed-off-by: David S. Miller <davem@...emloft.net>
---
l2tp is the only net_protocol not marked as namespace aware, and
there are patches coming for that. After that's taken care of
we can demand that any protocol that gets registers in ipv4 be
netns_ok, and therefore we can eliminate the "init_net only"
checks in various locations, such as IP local deliver.
net/ipv4/ipcomp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c
index 9a46dae..f01d1b1 100644
--- a/net/ipv4/ipcomp.c
+++ b/net/ipv4/ipcomp.c
@@ -163,6 +163,7 @@ static const struct net_protocol ipcomp4_protocol = {
.handler = xfrm4_rcv,
.err_handler = ipcomp4_err,
.no_policy = 1,
+ .netns_ok = 1,
};
static int __init ipcomp4_init(void)
--
1.7.11.7
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists