gre: add x-netns support
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 22 Apr 2014 08:15:23 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 18:53:36 +0000 (14:53 -0400)
commitb57708add31494175be741ed3fd24023b50c3423
tree9dd98a3b686c41202d4cdc8d2f91496dbfd2eae7
parent893f66277799cd46bdf97429cc5d16a815a51273
gre: 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/ipv4/ip_gre.c
This page took 0.025402 seconds and 5 git commands to generate.