Re: [PATCH] IPC: bugfix for msgrcv with msgtyp < 0

2013-08-26 Thread Peter Hurley
On 08/26/2013 04:42 PM, Andrew Morton wrote: On Sat, 24 Aug 2013 08:49:25 -0400 Peter Hurley 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

Re: [PATCH] IPC: bugfix for msgrcv with msgtyp < 0

2013-08-26 Thread Andrew Morton
On Sat, 24 Aug 2013 08:49:25 -0400 Peter Hurley 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." > > >

Re: [PATCH] IPC: bugfix for msgrcv with msgtyp < 0

2013-08-26 Thread Andrew Morton
On Sat, 24 Aug 2013 13:44:49 +0200 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

Re: [PATCH] IPC: bugfix for msgrcv with msgtyp 0

2013-08-26 Thread Andrew Morton
On Sat, 24 Aug 2013 13:44:49 +0200 Svenning S__rensen s...@secomea.dk 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

Re: [PATCH] IPC: bugfix for msgrcv with msgtyp 0

2013-08-26 Thread Andrew Morton
On Sat, 24 Aug 2013 08:49:25 -0400 Peter Hurley pe...@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

Re: [PATCH] IPC: bugfix for msgrcv with msgtyp 0

2013-08-26 Thread Peter Hurley
On 08/26/2013 04:42 PM, Andrew Morton wrote: On Sat, 24 Aug 2013 08:49:25 -0400 Peter Hurley pe...@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

Re: [PATCH] IPC: bugfix for msgrcv with msgtyp < 0

2013-08-24 Thread Peter Hurley
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

[PATCH] IPC: bugfix for msgrcv with msgtyp < 0

2013-08-24 Thread Svenning Sørensen
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.

[PATCH] IPC: bugfix for msgrcv with msgtyp 0

2013-08-24 Thread Svenning Sørensen
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:

Re: [PATCH] IPC: bugfix for msgrcv with msgtyp 0

2013-08-24 Thread Peter Hurley
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