patch-1.3.65 linux/net/appletalk/ddp.c

Next file: linux/net/ax25/af_ax25.c
Previous file: linux/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.64/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -1100,7 +1100,7 @@
 	sk->pair=NULL;
 	sk->wmem_alloc=0;
 	sk->rmem_alloc=0;
-	sk->inuse=0;
+	sk->users=0;
 	sk->proc=0;
 	sk->priority=1;
 	sk->shutdown=0;
@@ -1740,7 +1740,7 @@
 		sat->sat_addr.s_node=ddp->deh_snode;
 		sat->sat_addr.s_net=ddp->deh_snet;
 	}
-	skb_free_datagram(skb);
+	skb_free_datagram(sk, skb);
 	return(copied);
 }		
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this