Re: [next] unix stream crashes

From: Yan, Zheng
Date: Sat Sep 03 2011 - 11:38:35 EST


On Sat, Sep 3, 2011 at 10:46 PM, Sedat Dilek <sedat.dilek@xxxxxxxxxxxxxx> wrote:
> On Sat, Sep 3, 2011 at 3:47 PM, Sedat Dilek <sedat.dilek@xxxxxxxxxxxxxx> wrote:
>> On Sat, Sep 3, 2011 at 2:30 PM, Yan, Zheng <yanzheng@xxxxxxxx> wrote:
>>> The skb can be destructed before the while loop in unix_stream_sendmsg stops.
>>> please try below patch.
>>>
> [...]
>>
>> I have tested your patch on i386 against:
>>
>> 1. linux-next/patch-v3.1-rc3-next-20110826
>> 2. scm-fix/0001-Revert-Scm-Remove-unnecessary-pid-credential-referen.patch
>> 3. scm-fix-2/scm_send.patch
>> 4. scm-fix-3/0001-Fix-unix-stream-crashes.patch
>>
>> So the BROKEN scm-send path seems to be fixed, now!
>>
> [...]
>> Doing now a 2nd run with:
>>
>> 1. linux-next/patch-v3.1-rc3-next-20110826
>> 2. scm-fix-3/0001-Fix-unix-stream-crashes.patch
>>
>
> 2nd run is fine, too.
>

Thank you, will send a new patch later.

> - Sedat -
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/