ip6gre: add x-netns support
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 22 Apr 2014 08:15:24 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 18:53:36 +0000 (14:53 -0400)
commit22f08069e8b415b827e910ad75ed55eeadc4a877
tree517df35a906e4ab98a0e9e4a7d746cf69c625e33
parentb57708add31494175be741ed3fd24023b50c3423
ip6gre: add x-netns support

This patch allows to switch the netns when packet is encapsulated or
decapsulated. In other word, the encapsulated packet is received in a netns,
where the lookup is done to find the tunnel. Once the tunnel is found, the
packet is decapsulated and injecting into the corresponding interface which
stands to another netns.

When one of the two netns is removed, the tunnel is destroyed.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c
This page took 0.024765 seconds and 5 git commands to generate.