]> 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)
commitbc3effab0ea86fb5129273d70b9746ab3cbe9e3a
tree51ee4bd6009be21d7aab90212f34e1f4f9e46f7f
parent8a42505ec7dc15c506981edf027257e64d9d639f
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