patch-2.4.22 linux-2.4.22/net/socket.c
Next file: linux-2.4.22/net/sunrpc/clnt.c
Previous file: linux-2.4.22/net/sched/sch_tbf.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/net/socket.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/net/socket.c linux-2.4.22/net/socket.c
@@ -1359,7 +1359,7 @@
goto out;
/* do not move before msg_sys is valid */
- err = -EINVAL;
+ err = -EMSGSIZE;
if (msg_sys.msg_iovlen > UIO_MAXIOV)
goto out_put;
@@ -1442,7 +1442,7 @@
if (!sock)
goto out;
- err = -EINVAL;
+ err = -EMSGSIZE;
if (msg_sys.msg_iovlen > UIO_MAXIOV)
goto out_put;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)