]> git.baikalelectronics.ru Git - kernel.git/commit
gre: Add netlink interface
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Oct 2008 18:59:55 +0000 (11:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 18:59:55 +0000 (11:59 -0700)
commite2f1ea03a214c0d4f349c6f6f519193c4a5aa972
treeeaeb4f5fa8c11ee6520330299f97b5ca5f305d16
parent27ea953f3793d3544be50aeaf74d293e68f1ebf0
gre: Add netlink interface

This patch adds a netlink interface that will eventually displace
the existing ioctl interface.  It utilises the elegant rtnl_link_ops
mechanism.

This also means that user-space no longer needs to rely on the
tunnel interface being of type GRE to identify GRE tunnels.  The
identification can now occur using rtnl_link_ops.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_tunnel.h
net/ipv4/ip_gre.c