Merge branch 'gre_netns'
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 18:53:53 +0000 (14:53 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 18:53:53 +0000 (14:53 -0400)
commit2abf967b9304bdc0f6e2b42d4e7a25c3556c0fc4
tree517df35a906e4ab98a0e9e4a7d746cf69c625e33
parent893f66277799cd46bdf97429cc5d16a815a51273
parent22f08069e8b415b827e910ad75ed55eeadc4a877
Merge branch 'gre_netns'

Nicolas Dichtel says:

====================
gre: allow to switch netns during encap/decap

The goal of this serie is to add x-netns support for the module ip_gre and
ip6_gre, ie the encapsulation addresses and the network device are not owned by
the same namespace.

Example to configure an ipv4 gre tunnel:

modprobe ip_gre
ip netns add netns1
ip netns exec netns1 ip link set lo up
ip link add gre1 type gre remote 10.16.0.121 local 10.16.0.249 ikey 10 okey 10 csum
ip link set gre1 netns netns1
ip netns exec netns1 ip link set gre1 up
ip netns exec netns1 ip addr add dev gre1 192.168.0.249 remote 192.168.0.121
====================

Signed-off-by: David S. Miller <davem@davemloft.net>