lkml.org 
[lkml]   [2003]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.5.70-bk+ broken networking
    On Thu, 5 Jun 2003 13:25:58 +1000 (EST)
    James Morris <jmorris@intercode.com.au> 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
    > <jmorris@intercode.com.au>
    >
    > --- 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/

    \
     
     \ /
      Last update: 2005-03-22 13:36    [W:0.024 / U:2.708 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site