aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ila
diff options
context:
space:
mode:
authorRobert Shearman <rshearma@brocade.com>2017-01-24 11:26:47 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-04 03:47:11 -0500
commit89c2588627c20cf9d791a9bb1523646b101a59b1 (patch)
tree752cfc11e90dfafa34e87d3f70d04d7343ee0a0b /net/ipv6/ila
parent087c2ecb21afddaeaa9105ac7df6015eb1e2ce6a (diff)
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>
Diffstat (limited to 'net/ipv6/ila')
-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 e50c27a93e17..f3db364fc853 100644
--- a/net/ipv6/ila/ila_lwt.c
+++ b/net/ipv6/ila/ila_lwt.c
@@ -164,6 +164,7 @@ static const struct lwtunnel_encap_ops ila_encap_ops = {
164 .fill_encap = ila_fill_encap_info, 164 .fill_encap = ila_fill_encap_info,
165 .get_encap_size = ila_encap_nlsize, 165 .get_encap_size = ila_encap_nlsize,
166 .cmp_encap = ila_encap_cmp, 166 .cmp_encap = ila_encap_cmp,
167 .owner = THIS_MODULE,
167}; 168};
168 169
169int ila_lwt_init(void) 170int ila_lwt_init(void)