]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sit: add IPv4 over IPv4 support
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 27 May 2013 23:48:16 +0000 (23:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:19:05 +0000 (17:19 -0700)
commit32b8a8e59c9c8fa56051d6e9ab2924e469ac4d92
tree51ee4bd6009be21d7aab90212f34e1f4f9e46f7f
parentbf3d6a8f791b2a81279b9ce3201b4970f6fbe51a
sit: add IPv4 over IPv4 support

This patch adds the support of IPv4 over Ipv4 for the module sit. The gain of
this feature is to be able to have 4in4 and 6in4 over the same interface
instead of having one interface for 6in4 and another for 4in4 even if
encapsulation addresses are the same.

To avoid conflicting with ipip module, sit IPv4 over IPv4 protocol is
registered with a smaller priority.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_tunnel.c
net/ipv6/sit.c