]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 21:21:36 +0000 (16:21 -0500)
commit5f6470f2f1b5a84e120f814f6e9c3c2109dae399
treeacd6fa564ab6818a88aec7d60c65d8d164d09e08
parent1a6fd821575add3f35caa71711dbdc37c16e87a7
net: Specify the owning module for lwtunnel ops

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>
include/net/lwtunnel.h
net/core/lwt_bpf.c
net/ipv4/ip_tunnel_core.c
net/ipv6/ila/ila_lwt.c
net/ipv6/seg6_iptunnel.c
net/mpls/mpls_iptunnel.c