patch-2.3.43 linux/net/atm/resources.c
Next file: linux/net/atm/signaling.c
Previous file: linux/net/atm/raw.c
Back to the patch index
Back to the overall index
-  Lines: 11
 -  Date:
Tue Feb  8 18:23:13 2000
 -  Orig file: 
v2.3.42/linux/net/atm/resources.c
 -  Orig date: 
Thu Aug 26 13:05:42 1999
 
diff -u --recursive --new-file v2.3.42/linux/net/atm/resources.c linux/net/atm/resources.c
@@ -145,8 +145,10 @@
 		sk_free(sk);
 		return NULL;
 	}
+	sock_init_data(NULL,sk);
 	sk->destruct = atm_free_sock;
 	memset(vcc,0,sizeof(*vcc));
+	vcc->sk = sk;
 	if (nodev_vccs) nodev_vccs->prev = vcc;
 	vcc->prev = NULL;
 	vcc->next = nodev_vccs;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)