]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitc19e654ddbe3831252f61e76a74d661e1a755530
treeeaeb4f5fa8c11ee6520330299f97b5ca5f305d16
parent42aa916265d740d66ac1f17290366e9494c884c2
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