Thread (7 messages) 7 messages, 3 authors, 2003-06-05

Re: 2.5.70-bk+ broken networking

flat view

From: Andrew Morton <hidden>
Date: 2003-06-05 03:12:53
Also in: lkml

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);
_
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help