Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264746AbTFEQmI (ORCPT ); Thu, 5 Jun 2003 12:42:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264747AbTFEQmI (ORCPT ); Thu, 5 Jun 2003 12:42:08 -0400 Received: from air-2.osdl.org ([65.172.181.6]:4584 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264746AbTFEQmH (ORCPT ); Thu, 5 Jun 2003 12:42:07 -0400 Date: Thu, 5 Jun 2003 09:55:12 -0700 From: Stephen Hemminger To: James Morris Cc: patmans@us.ibm.com, akpm@digeo.com, jgarzik@pobox.com, davem@redhat.com, netdev@oss.sgi.com, linux-kernel@vger.kernel.org, hch@infradead.org Subject: Re: 2.5.70-bk+ broken networking Message-Id: <20030605095512.022ea3be.shemminger@osdl.org> In-Reply-To: References: <20030604184341.A10256@beaverton.ibm.com> Organization: Open Source Development Lab X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: &@E+xe?c%:&e4D{>f1O<&U>2qwRREG5!}7R4;D<"NO^UI2mJ[eEOA2*3>(`Th.yP,VDPo9$ /`~cw![cmj~~jWe?AHY7D1S+\}5brN0k*NE?pPh_'_d>6;XGG[\KDRViCfumZT3@[ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1171 Lines: 40 On Thu, 5 Jun 2003 13:25:58 +1000 (EST) James Morris wrote: > On Wed, 4 Jun 2003, Patrick Mansfield wrote: > > > [root@elm3b79 root]# ifup eth0 > > sender address length == 0 > > This is a bug introduced by a coding style cleanup, fix below. > > > - James > -- > James Morris > > > --- 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)) Thanks, this works for me. I will see if it fixes the other gnome mystery as well. - 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/