]> git.hungrycats.org Git - linux/commitdiff
[ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org)
authorChas Williams <chas@cmf.nrl.navy.mil>
Thu, 4 Sep 2003 19:39:02 +0000 (12:39 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 4 Sep 2003 19:39:02 +0000 (12:39 -0700)
net/atm/pvc.c
net/atm/svc.c

index 9dee7f22c8011ea8dab25d8876744c41b3a96e7e..c0ce4d4d20b6f5633d104ce1a35c461daa23ddd9 100644 (file)
@@ -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,
 };
 
 
index 07c0849b37c7d0f5a435f839071238afeefb2a0d..aa46d6ae96d54659258dafa3d50d596af6c00c04 100644 (file)
@@ -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,
 };