On 04/02/2013 01:52 PM, Linus Torvalds wrote:
> On Tue, Apr 2, 2013 at 9:08 AM, Sasha Levin <sasha.le...@oracle.com> wrote:
>>
>> By just playing with the 'msgsz' parameter with MSG_COPY set.
> 
> Hmm. Looking closer, I suspect you're testing without commit
> 88b9e456b164 ("ipc: don't allocate a copy larger than max"). That
> should limit the size passed in to prepare_copy -> load_copy to
> msg_ctlmax.

That commit has a revert in the -next trees, do we need a revert
of the revert?

        commit ff6577a3e714ccae02d4400e989762c19c37b0b3
        Author: Andrew Morton <a...@linux-foundation.org>
        Date:   Wed Mar 27 10:24:02 2013 +1100
        
            revert "ipc: don't allocate a copy larger than max"
        
            Revert 88b9e456b164.  Dave has confirmed that this was causing 
oopses
            during trinity testing.
        
            Cc: Peter Hurley <pe...@hurleysoftware.com>
            Cc: Stanislav Kinsbursky <skinsbur...@parallels.com>
            Reported-by: Dave Jones <da...@redhat.com>
            Cc: <sta...@vger.kernel.org>
            Signed-off-by: Andrew Morton <a...@linux-foundation.org>



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

Reply via email to