• N
    sit: add support of x-netns · 5e6700b3
    Nicolas Dichtel 提交于
    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: NNicolas Dichtel <nicolas.dichtel@6wind.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    5e6700b3
ip_tunnel.c 23.3 KB