net: add infrastructure to un-offload UDP tunnel port
commit296d8ee37c50f139d934bdefbab85509b2e4a525
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 21 Jul 2017 10:49:30 +0000 (21 12:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:52:59 +0000 (24 13:52 -0700)
tree822eb88015619a2dffb833cd9f1e3f23469e2ac7
parent7a27fc6d536b36a29c0ed4bfff7035420f4df216
net: add infrastructure to un-offload UDP tunnel port

This adds a new NETDEV_UDP_TUNNEL_DROP_INFO event, similar to
NETDEV_UDP_TUNNEL_PUSH_INFO, to signal to un-offload ports.

This also adds udp_tunnel_drop_rx_port(), which calls
ndo_udp_tunnel_del.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/udp_tunnel.h
net/ipv4/udp_tunnel.c