From cc81ac77f859add27893518bb3151c9df9715f1d Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Thu, 4 Sep 2003 12:39:02 -0700 Subject: [PATCH] [ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org) --- net/atm/pvc.c | 2 ++ net/atm/svc.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/net/atm/pvc.c b/net/atm/pvc.c index 9dee7f22c8011..c0ce4d4d20b6f 100644 --- a/net/atm/pvc.c +++ b/net/atm/pvc.c @@ -104,6 +104,7 @@ static int pvc_getname(struct socket *sock,struct sockaddr *sockaddr, static struct proto_ops pvc_proto_ops = { .family = PF_ATMPVC, + .owner = THIS_MODULE, .release = vcc_release, .bind = pvc_bind, @@ -134,6 +135,7 @@ static int pvc_create(struct socket *sock,int protocol) static struct net_proto_family pvc_family_ops = { .family = PF_ATMPVC, .create = pvc_create, + .owner = THIS_MODULE, }; diff --git a/net/atm/svc.c b/net/atm/svc.c index 07c0849b37c7d..aa46d6ae96d54 100644 --- a/net/atm/svc.c +++ b/net/atm/svc.c @@ -513,6 +513,7 @@ out: static struct proto_ops svc_proto_ops = { .family = PF_ATMSVC, + .owner = THIS_MODULE, .release = svc_release, .bind = svc_bind, @@ -549,6 +550,7 @@ static int svc_create(struct socket *sock,int protocol) static struct net_proto_family svc_family_ops = { .family = PF_ATMSVC, .create = svc_create, + .owner = THIS_MODULE, }; -- 2.53.0