From: Cong Wang
Date: Tue, 11 Dec 2018 21:43:51 -0800
> tipc_wait_for_cond() drops socket lock before going to sleep,
> but tsk->group could be freed right after that release_sock().
> So we have to re-check and reload tsk->group after it wakes up.
>
> After this patch, tipc_wait_for_cond() retu
On 12/12/18 1:43 PM, Cong Wang wrote:
> tipc_wait_for_cond() drops socket lock before going to sleep,
> but tsk->group could be freed right after that release_sock().
> So we have to re-check and reload tsk->group after it wakes up.
>
> After this patch, tipc_wait_for_cond() returns -ERESTARTSYS w
tipc_wait_for_cond() drops socket lock before going to sleep,
but tsk->group could be freed right after that release_sock().
So we have to re-check and reload tsk->group after it wakes up.
After this patch, tipc_wait_for_cond() returns -ERESTARTSYS when
tsk->group is NULL, instead of continuing wi