Messages in this thread |  | | Date | Sun, 26 Oct 2014 15:45:37 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [PATCH v2] futex: fix a race condition between REQUEUE_PI and task death |
| |
On Sat, 25 Oct 2014, Brian Silverman wrote: > @@ -1558,6 +1558,12 @@ retry_private: > ret = get_futex_value_locked(&curval, uaddr1); > > if (unlikely(ret)) { > + /* > + * We will have to lookup the pi_state again, so > + * free this one to keep the accounting correct. > + */ > + free_pi_state(pi_state, hb2); > + pi_state = NULL;
pi_state is always NULL here. No point for this call.
Thanks,
tglx
|  |