patch-1.3.60 linux/net/ipv4/raw.c
Next file: linux/net/ipv4/route.c
Previous file: linux/net/ipv4/packet.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Wed Feb  7 08:55:52 1996
 -  Orig file: 
v1.3.59/linux/net/ipv4/raw.c
 -  Orig date: 
Wed Dec 27 09:12:14 1995
 
diff -u --recursive --new-file v1.3.59/linux/net/ipv4/raw.c linux/net/ipv4/raw.c
@@ -278,7 +278,7 @@
 			return -ENOBUFS;
 		memcpy_fromiovec(buf, msg->msg_iov, len);
 		fs=get_fs();
-		set_fs(get_fs());
+		set_fs(get_ds());
 		err=raw_sendto(sk,buf,len, noblock, flags, msg->msg_name, msg->msg_namelen);
 		set_fs(fs);
 		kfree_s(buf,len);
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