patch-2.1.11 linux/net/ipv4/rarp.c
Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/packet.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Nov 18 10:36:06 1996
-  Orig file: 
v2.1.10/linux/net/ipv4/rarp.c
-  Orig date: 
Fri Nov 15 23:49:11 1996
diff -u --recursive --new-file v2.1.10/linux/net/ipv4/rarp.c linux/net/ipv4/rarp.c
@@ -436,7 +436,7 @@
  *        Copy the information back
  */
   
-	return copy_to_user(req, &r, sizeof(r));
+	return copy_to_user(req, &r, sizeof(r)) ? -EFAULT : 0;
 }
 
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov