]> git.karo-electronics.de Git - linux-beck.git/commit
net: Specify the owning module for lwtunnel ops
authorRobert Shearman <rshearma@brocade.com>
Tue, 24 Jan 2017 16:26:47 +0000 (16:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Feb 2017 08:47:11 +0000 (09:47 +0100)
commit89c2588627c20cf9d791a9bb1523646b101a59b1
tree752cfc11e90dfafa34e87d3f70d04d7343ee0a0b
parent087c2ecb21afddaeaa9105ac7df6015eb1e2ce6a
net: Specify the owning module for lwtunnel ops

[ Upstream commit 88ff7334f25909802140e690c0e16433e485b0a0 ]

Modules implementing lwtunnel ops should not be allowed to unload
while there is state alive using those ops, so specify the owning
module for all lwtunnel ops.

Signed-off-by: Robert Shearman <rshearma@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/lwtunnel.h
net/ipv4/ip_tunnel_core.c
net/ipv6/ila/ila_lwt.c
net/mpls/mpls_iptunnel.c