public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel•org>
To: David Miller <davem@davemloft•net>
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
Date: Wed, 29 May 2013 10:11:47 +0200	[thread overview]
Message-ID: <20130529081147.GC24933@gmail.com> (raw)
In-Reply-To: <20130528.235628.1501314742626907861.davem@davemloft.net>


* David Miller <davem@davemloft•net> wrote:

> From: Ingo Molnar <mingo@kernel•org>
> 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@davemloft•net>
> > Signed-off-by: Andy Lutomirski <luto@amacapital•net>
> 
> Applied and queued up for -stable.

Thanks David!

	Ingo

  reply	other threads:[~2013-05-29  8:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1369177867.git.luto@amacapital.net>
2013-05-22 21:07 ` [PATCH 5/5] net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg Andy Lutomirski
2013-05-28  8:56   ` [PATCH/FIX] " Ingo Molnar
2013-05-29  6:56     ` David Miller
2013-05-29  8:11       ` Ingo Molnar [this message]
2013-06-06  2:56   ` [PATCH 5/5] " Michael Neuling
2013-06-06  3:01     ` Anton Blanchard
2013-06-06  3:29       ` Stephen Rothwell
2013-06-06  5:38         ` [PATCH] net: Unbreak compat_sys_{send,recv}msg Andy Lutomirski
2013-06-06  5:48           ` Michael Neuling
2013-06-06  7:26           ` David Miller
2013-06-06 13:45             ` Eric Dumazet
2013-06-06 18:53               ` David Miller
2013-06-06  4:35     ` [PATCH 5/5] net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg Eric Dumazet
2013-06-06  5:00       ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130529081147.GC24933@gmail.com \
    --to=mingo@kernel$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=luto@amacapital$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=trinity@vger$(echo .)kernel.org \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox