patch-1.3.36 linux/net/core/skbuff.c
Next file: linux/net/core/sock.c
Previous file: linux/net/core/iovec.c
Back to the patch index
Back to the overall index
-  Lines: 17
 -  Date:
Tue Oct 17 13:44:40 1995
 -  Orig file: 
v1.3.35/linux/net/core/skbuff.c
 -  Orig date: 
Wed Sep 27 16:00:01 1995
 
diff -u --recursive --new-file v1.3.35/linux/net/core/skbuff.c linux/net/core/skbuff.c
@@ -460,9 +460,9 @@
 	        if(skb->sk->prot!=NULL)
 		{
 			if (rw)
-		     		skb->sk->prot->rfree(skb->sk, skb);
+		     		sock_rfree(skb->sk, skb);
 		     	else
-		     		skb->sk->prot->wfree(skb->sk, skb);
+		     		sock_wfree(skb->sk, skb);
 
 		}
 		else
@@ -689,4 +689,3 @@
 {
 	return skb->lock? 1 : 0;
 }
-
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