Re: 2.5.70-bk+ broken networking

From: Andrew Morton (akpm@digeo.com)
Date: Wed Jun 04 2003 - 22:26:22 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:26 EST