summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ila/ila_lwt.c
diff options
context:
space:
mode:
authorRobert Shearman2017-01-24 17:26:47 +0100
committerDavid S. Miller2017-01-24 22:21:36 +0100
commit88ff7334f25909802140e690c0e16433e485b0a0 (patch)
treeacd6fa564ab6818a88aec7d60c65d8d164d09e08 /net/ipv6/ila/ila_lwt.c
parentMerge branch 'tipc-topology-fixes' (diff)
downloadkernel-qcow2-linux-88ff7334f25909802140e690c0e16433e485b0a0.tar.gz
kernel-qcow2-linux-88ff7334f25909802140e690c0e16433e485b0a0.tar.xz
kernel-qcow2-linux-88ff7334f25909802140e690c0e16433e485b0a0.zip
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>
Diffstat (limited to 'net/ipv6/ila/ila_lwt.c')
-rw-r--r--net/ipv6/ila/ila_lwt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ila/ila_lwt.c b/net/ipv6/ila/ila_lwt.c
index a7bc54ab46e2..13b5e85fe0d5 100644
--- a/net/ipv6/ila/ila_lwt.c
+++ b/net/ipv6/ila/ila_lwt.c
@@ -238,6 +238,7 @@ static const struct lwtunnel_encap_ops ila_encap_ops = {
.fill_encap = ila_fill_encap_info,
.get_encap_size = ila_encap_nlsize,
.cmp_encap = ila_encap_cmp,
+ .owner = THIS_MODULE,
};
int ila_lwt_init(void)