From: Cong Wang <[email protected]>
Date: Sun, 16 Dec 2018 23:25:12 -0800
> Similar to commit 143ece654f9f ("tipc: check tsk->group in
> tipc_wait_for_cond()")
> we have to reload grp->dests too after we re-take the sock lock.
> This means we need to move the dsts check after tipc_wait_for_cond()
> too.
>
> Fixes: 75da2163dbb6 ("tipc: introduce communication groups")
> Reported-and-tested-by: [email protected]
> Cc: Ying Xue <[email protected]>
> Cc: Jon Maloy <[email protected]>
> Signed-off-by: Cong Wang <[email protected]>
Applied and queued up for -stable.