Re: [PATCH] rtmutex.c: Fix incorrect waiter check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Steven Rostedt | 2015-01-21 15:13:52 [-0500]:

>On Wed, 14 Jan 2015 15:11:38 -0600
>"Brad Mouring" <bmouring@xxxxxx> wrote:
>
>> In task_blocks_on_lock, there's a null check on pi_blocked_on
>> of the task_struct. This pointer can encode the fact that the
>> task that contains the pointer is waking (preventing requeuing)
>> and therefore is non-null. Use the inline function to avoid
>> dereferencing an invalid "pointer"
>
>Yep, this looks legit. I can apply it to the series I maintain.

I added it to v3.18 with a stable tag. I don't know why this did not
pop-up earlier or if this is part of the rtmutex re-write.

>-- Steve

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux