diff options
Diffstat (limited to 'net/ipv4/ip_input.c')
-rw-r--r-- | net/ipv4/ip_input.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index f1395a6fb35f..87abd3e2bd32 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c | |||
@@ -208,13 +208,6 @@ static int ip_local_deliver_finish(struct sk_buff *skb) | |||
208 | if (ipprot != NULL) { | 208 | if (ipprot != NULL) { |
209 | int ret; | 209 | int ret; |
210 | 210 | ||
211 | if (!net_eq(net, &init_net) && !ipprot->netns_ok) { | ||
212 | net_info_ratelimited("%s: proto %d isn't netns-ready\n", | ||
213 | __func__, protocol); | ||
214 | kfree_skb(skb); | ||
215 | goto out; | ||
216 | } | ||
217 | |||
218 | if (!ipprot->no_policy) { | 211 | if (!ipprot->no_policy) { |
219 | if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { | 212 | if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { |
220 | kfree_skb(skb); | 213 | kfree_skb(skb); |