Commit cc81ac77 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org)

parent de5f0c10
...@@ -104,6 +104,7 @@ static int pvc_getname(struct socket *sock,struct sockaddr *sockaddr, ...@@ -104,6 +104,7 @@ static int pvc_getname(struct socket *sock,struct sockaddr *sockaddr,
static struct proto_ops pvc_proto_ops = { static struct proto_ops pvc_proto_ops = {
.family = PF_ATMPVC, .family = PF_ATMPVC,
.owner = THIS_MODULE,
.release = vcc_release, .release = vcc_release,
.bind = pvc_bind, .bind = pvc_bind,
...@@ -134,6 +135,7 @@ static int pvc_create(struct socket *sock,int protocol) ...@@ -134,6 +135,7 @@ static int pvc_create(struct socket *sock,int protocol)
static struct net_proto_family pvc_family_ops = { static struct net_proto_family pvc_family_ops = {
.family = PF_ATMPVC, .family = PF_ATMPVC,
.create = pvc_create, .create = pvc_create,
.owner = THIS_MODULE,
}; };
......
...@@ -513,6 +513,7 @@ static int svc_getsockopt(struct socket *sock,int level,int optname, ...@@ -513,6 +513,7 @@ static int svc_getsockopt(struct socket *sock,int level,int optname,
static struct proto_ops svc_proto_ops = { static struct proto_ops svc_proto_ops = {
.family = PF_ATMSVC, .family = PF_ATMSVC,
.owner = THIS_MODULE,
.release = svc_release, .release = svc_release,
.bind = svc_bind, .bind = svc_bind,
...@@ -549,6 +550,7 @@ static int svc_create(struct socket *sock,int protocol) ...@@ -549,6 +550,7 @@ static int svc_create(struct socket *sock,int protocol)
static struct net_proto_family svc_family_ops = { static struct net_proto_family svc_family_ops = {
.family = PF_ATMSVC, .family = PF_ATMSVC,
.create = svc_create, .create = svc_create,
.owner = THIS_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