patch-2.1.11 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: 12
- Date:
Mon Nov 18 10:36:06 1996
- Orig file:
v2.1.10/linux/net/core/iovec.c
- Orig date:
Fri Nov 15 23:49:11 1996
diff -u --recursive --new-file v2.1.10/linux/net/core/iovec.c linux/net/core/iovec.c
@@ -94,9 +94,8 @@
{
int copy = min(iov->iov_len,len);
err = copy_to_user(iov->iov_base,kdata,copy);
- if (err) {
- return err;
- }
+ if (err)
+ return err;
kdata+=copy;
len-=copy;
iov->iov_len-=copy;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov