Skip to content

Commit da6bb5c

Browse files
Daniel Lezcanodavem330
authored andcommitted
[NETNS][IPV6] ip6_input - enable ipv6_rcv to handle several network namespace
The different subsystem of ipv6 are ready for namespaces, so let's activate it for ipv6_rcv. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c20121a commit da6bb5c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

net/ipv6/ip6_input.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
6161
u32 pkt_len;
6262
struct inet6_dev *idev;
6363

64-
if (dev->nd_net != &init_net) {
65-
kfree_skb(skb);
66-
return 0;
67-
}
68-
6964
if (skb->pkt_type == PACKET_OTHERHOST) {
7065
kfree_skb(skb);
7166
return 0;

0 commit comments

Comments
 (0)