Thread (20 messages) flat view 20 messages, 4 authors, 2016-12-22

Re: ipv6: handle -EFAULT from skb_copy_bits

From: David Miller <davem@davemloft.net>
Date: 2016-12-22 03:29:19

From: Dave Jones <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help