Thread (5 messages) 5 messages, 5 authors, 2003-06-05

Re: 2.5.70-bk+ broken networking

flat view

From: Arnaldo Carvalho de Melo <hidden>
Date: 2003-06-05 03:18:04
Also in: lkml

For the curious, it was introduced in changeset 1.1259.9.18

- Arnaldo

Em Thu, Jun 05, 2003 at 01:25:58PM +1000, James Morris escreveu:
quoted hunk ↗ jump to hunk
On Wed, 4 Jun 2003, Patrick Mansfield wrote:
quoted
[root@elm3b79 root]# ifup eth0
sender address length == 0
This is a bug introduced by a coding style cleanup, fix below.


- James
-- 
James Morris
[off-list ref]
--- bk.pending/net/core/iovec.c	2003-06-05 11:12:59.000000000 +1000
+++ bk.w1/net/core/iovec.c	2003-06-05 13:30:06.000000000 +1000
@@ -47,10 +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);
 	if (copy_from_user(iov, m->msg_iov, size))
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help