Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965063Ab3E2ILz (ORCPT ); Wed, 29 May 2013 04:11:55 -0400 Received: from mail-ee0-f48.google.com ([74.125.83.48]:36418 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753814Ab3E2ILv (ORCPT ); Wed, 29 May 2013 04:11:51 -0400 Date: Wed, 29 May 2013 10:11:47 +0200 From: Ingo Molnar To: David Miller Cc: luto@amacapital.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, trinity@vger.kernel.org Subject: Re: [PATCH/FIX] net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg Message-ID: <20130529081147.GC24933@gmail.com> References: <20130528085600.GD30172@gmail.com> <20130528.235628.1501314742626907861.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130528.235628.1501314742626907861.davem@davemloft.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 26 * David Miller wrote: > From: Ingo Molnar > 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 > > Signed-off-by: Andy Lutomirski > > Applied and queued up for -stable. Thanks David! Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/