]> git.baikalelectronics.ru Git - kernel.git/commit
sit: advertise tunnel param via rtnl
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 9 Nov 2012 06:10:00 +0000 (06:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2012 00:36:20 +0000 (19:36 -0500)
commitc803bd2ae79b10fcc9ff0c0d2cfafc15e14c5d7b
treefd55e376775b87c74b2ad2b085828fe78302df7c
parent0e60d4c4412adddb469ed2eb0787a3b72a8eef5e
sit: 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>
net/ipv6/sit.c