patch-1.3.96 linux/net/core/iovec.c
Next file: linux/net/core/skbuff.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Apr 27 14:02:45 1996
- Orig file:
v1.3.95/linux/net/core/iovec.c
- Orig date:
Tue Feb 13 16:57:42 1996
diff -u --recursive --new-file v1.3.95/linux/net/core/iovec.c linux/net/core/iovec.c
@@ -35,11 +35,11 @@
{
if(mode==VERIFY_READ) {
err=move_addr_to_kernel(m->msg_name, m->msg_namelen, address);
- m->msg_name = address;
} else
err=verify_area(mode, m->msg_name, m->msg_namelen);
if(err<0)
return err;
+ m->msg_name = address;
}
if(m->msg_accrights!=NULL)
{
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