On Sat, Oct 12, 2019 at 07:49:54AM +0200, Manfred Spraul wrote:
> +static inline void __pipelined_op(struct wake_q_head *wake_q,
>                                 struct mqueue_inode_info *info,
> +                               struct ext_wait_queue *this)
>  {
> +     list_del(&this->list);
> +     wake_q_add(wake_q, this->task);
>       /*
>        * Rely on the implicit cmpxchg barrier from wake_q_add such
>        * that we can ensure that updating receiver->state is the last
> @@ -937,7 +932,19 @@ static inline void pipelined_send(struct wake_q_head 
> *wake_q,
>        * yet, at that point we can later have a use-after-free
>        * condition and bogus wakeup.
>        */
> +        this->state = STATE_READY;

  ^^^^^^^^^^ whitespace damage

> +}

Reply via email to