Commit 0586d8a9 authored by David S. Miller's avatar David S. Miller

[IPV4/IPV6]: Set owner field in family ops.

parent cb0447f0
...@@ -926,6 +926,7 @@ struct proto_ops inet_dgram_ops = { ...@@ -926,6 +926,7 @@ struct proto_ops inet_dgram_ops = {
struct net_proto_family inet_family_ops = { struct net_proto_family inet_family_ops = {
.family = PF_INET, .family = PF_INET,
.create = inet_create, .create = inet_create,
.owner = THIS_MODULE,
}; };
......
...@@ -535,6 +535,7 @@ struct proto_ops inet6_dgram_ops = { ...@@ -535,6 +535,7 @@ struct proto_ops inet6_dgram_ops = {
struct net_proto_family inet6_family_ops = { struct net_proto_family inet6_family_ops = {
.family = PF_INET6, .family = PF_INET6,
.create = inet6_create, .create = inet6_create,
.owner = THIS_MODULE,
}; };
#ifdef MODULE #ifdef MODULE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment