Re: race in skb_splice_bits?
From: Evgeniy Polyakov <hidden>
Date: 2008-05-27 15:22:42
From: Evgeniy Polyakov <hidden>
Date: 2008-05-27 15:22:42
On Tue, May 27, 2008 at 07:12:59PM +0400, Evgeniy Polyakov (johnpol@2ka.mipt.ru) wrote:
On Tue, May 27, 2008 at 07:09:31PM +0400, Evgeniy Polyakov (johnpol@2ka.mipt.ru) wrote:quoted
Please test this one assuming there are no other patches applied before.A typo sneaked into the patch, please try this one.
The same wrong one, sorry about that. Idea is to hold skb between release/lock sock calls and thus do not allow to free it by core stack when it is being released. Patch still misses the case, when socket is released and skb was dequeued, so splice will try to dequeue it again, which will crash. I will think on how to fix the issue. -- Evgeniy Polyakov