[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090126.210055.104964648.davem@davemloft.net>
Date: Mon, 26 Jan 2009 21:00:55 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rusty@...tcorp.com.au
Cc: iws@...o.caltech.edu, linux-kernel@...r.kernel.org,
markmc@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH] virtio_net: use correct accessors for scatterlists
From: Rusty Russell <rusty@...tcorp.com.au>
Date: Tue, 27 Jan 2009 15:21:19 +1030
> On Saturday 24 January 2009 10:40:53 Ira Snyder wrote:
> > Without this fix, virtio_net makes incorrect usage of scatterlists. It sets
> > the end of the scatterlist chain after the first element, despite the fact
> > that more entries come after it.
> >
> > If you try to run dma_map_sg() on one of the scatterlists given to you by
> > add_buf(), you will get a null pointer oops.
> >
> > Signed-off-by: Ira W. Snyder <iws@...o.caltech.edu>
>
> Thanks, this should go in 2.6.29. Dave?
Applied, should I queue it up for -stable too Rusty?
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists