From: Peter Hurley <peter@hurleysoftware.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "Svenning Sørensen" <sss@secomea.dk>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IPC: bugfix for msgrcv with msgtyp < 0
Date: Mon, 26 Aug 2013 16:59:24 -0400 [thread overview]
Message-ID: <521BC1AC.9090002@hurleysoftware.com> (raw)
In-Reply-To: <20130826134250.66830c1a551f6619544bd6a8@linux-foundation.org>
On 08/26/2013 04:42 PM, Andrew Morton wrote:
> On Sat, 24 Aug 2013 08:49:25 -0400 Peter Hurley <peter@hurleysoftware.com> wrote:
>
>> On 08/24/2013 07:44 AM, Svenning S__rensen wrote:
>>> According to 'man msgrcv':
>>> "If msgtyp is less than 0, the first message of the lowest type that is less
>>> than or equal to the absolute value of msgtyp shall be received."
>>>
>>> Bug: The kernel only returns a message if its type is 1; other messages with
>>> type < abs(msgtype) will never get returned.
>>>
>>> Fix: After having traversed the list to find the first message with the
>>> lowest type, we need to actually return that message.
>>
>> Sorry for the breakage. Needs to go to -stable as well.
>
> Do you know which commit caused the regression? That would help those
> who wish to fix up their kernels.
Commit daaf74cf0867e3042090d56d10b194d6265b4684,
ipc: refactor msg list search into separate function
introduced this regression.
Regards,
Peter Hurley
>> Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
>>
next prev parent reply other threads:[~2013-08-26 20:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-24 11:44 [PATCH] IPC: bugfix for msgrcv with msgtyp < 0 Svenning Sørensen
2013-08-24 12:49 ` Peter Hurley
2013-08-26 20:42 ` Andrew Morton
2013-08-26 20:59 ` Peter Hurley [this message]
2013-08-26 20:41 ` Andrew Morton
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=521BC1AC.9090002@hurleysoftware.com \
--to=peter@hurleysoftware.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sss@secomea.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.