]> git.baikalelectronics.ru Git - kernel.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)
commit0fa61b32cf1487800467908c754fcc762aaafbfc
tree51ee4bd6009be21d7aab90212f34e1f4f9e46f7f
parent9bc57323afc679e6101276786d2f7b393a91d12d
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