Re: [PATCH/FIX] net: Block MSG_CMSG_COMPAT in send(m)msg andrecv(m)msg

From: David Miller
Date: Wed May 29 2013 - 02:56:34 EST


From: Ingo Molnar <mingo@xxxxxxxxxx>
Date: Tue, 28 May 2013 10:56:00 +0200

> MSG_CMSG_COMPAT is (AFAIK) not intended to be part of the API --
> it's a hack that steals a bit to indicate to other networking code
> that a compat entry was used. So don't allow it from a non-compat
> syscall.
>
> This prevents an oops when running this code:
...
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxxxxxx>

Applied and queued up for -stable.
--
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/