]> git.baikalelectronics.ru Git - kernel.git/commit
ip6tnl: advertise tunnel param via rtnl
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 9 Nov 2012 06:10:01 +0000 (06:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2012 00:36:20 +0000 (19:36 -0500)
commita763157bf3af198fb0fd835d5113b38a1345b8bf
treee7d443ab220da2f1e9f5d48373bc50754a70ce5d
parentf1b96ec6da1657d11b0aa4bb85d8f7144fb17eec
ip6tnl: advertise tunnel param via rtnl

It is usefull for daemons that monitor link event to have the full parameters of
these interfaces when a rtnl message is sent.
It allows also to dump them via rtnetlink.

It is based on what is done for GRE tunnels.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_tunnel.h
net/ipv6/ip6_tunnel.c