[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161221.222915.2248838531091165151.davem@davemloft.net>
Date: Wed, 21 Dec 2016 22:29:15 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: davej@...emonkey.org.uk
Cc: hannes@...essinduktion.org, xiyou.wangcong@...il.com,
netdev@...r.kernel.org
Subject: Re: ipv6: handle -EFAULT from skb_copy_bits
From: Dave Jones <davej@...emonkey.org.uk>
Date: Wed, 21 Dec 2016 20:40:19 -0500
> On Wed, Dec 21, 2016 at 10:33:20PM +0100, Hannes Frederic Sowa wrote:
>
> > > Given all of this, I think the best thing to do is validate the offset
> > > after the queue walks, which is pretty much what Dave Jones's original
> > > patch was doing.
> >
> > I think both approaches protect against the bug reasonably well, but
> > Dave's patch has a bug: we must either call ip6_flush_pending_frames to
> > clear the socket write queue with the buggy send request.
>
> I can fix that up and resubmit, or we can go with your approach.
> DaveM ?
Please respin your patch with the fix Dave.
Powered by blists - more mailing lists