patch-1.3.10 linux/net/core/datagram.c

Next file: linux/net/core/dev.c
Previous file: linux/net/Changes
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.9/linux/net/core/datagram.c linux/net/core/datagram.c
@@ -72,8 +72,10 @@
 		if(sk->err)
 		{
 			release_sock(sk);
+			cli();
 			*err=-sk->err;
 			sk->err=0;
+			restore_flags(intflags);
 			return NULL;
 		}
 
@@ -163,8 +165,6 @@
 
 void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
 {
-	/* We will know all about the fraglist options to allow >4K receives
-	   but not this release */
 	memcpy_tofs(to,skb->h.raw+offset,size);
 }
 

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