]> git.baikalelectronics.ru Git - kernel.git/commit
ipip: advertise tunnel param via rtnl
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 9 Nov 2012 06:09:59 +0000 (06:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2012 00:36:20 +0000 (19:36 -0500)
commitf86f28240ebb708511f32a6809ba6d2e724d53c0
tree9db7dbe10459d9c7de24d3afd7ba6a82fe9fef33
parent0f93bfc1ad5b7777e679b3a7f6c9b25db3f04121
ipip: 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>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_tunnel.h
net/ipv4/ipip.c