Re: 2.5.70-bk+ broken networking

Andrew Morton (akpm@digeo.com)
Wed, 4 Jun 2003 20:26:22 -0700


broken "cleanup"

net/core/iovec.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)

diff -puN net/core/iovec.c~iovec-fix net/core/iovec.c
--- 25/net/core/iovec.c~iovec-fix 2003-06-04 20:23:03.000000000 -0700
+++ 25-akpm/net/core/iovec.c 2003-06-04 20:24:05.000000000 -0700
@@ -47,9 +47,10 @@ int verify_iovec(struct msghdr *m, struc
address);
if (err < 0)
return err;
- m->msg_name = address;
- } else
- m->msg_name = NULL;
+ }
+ m->msg_name = address;
+ } else {
+ m->msg_name = NULL;
}

size = m->msg_iovlen * sizeof(struct iovec);

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/