From: David Miller Subject: Re: [Patch net] tipc: check group dests after tipc_wait_for_cond() Date: Tue, 18 Dec 2018 15:45:12 -0800 (PST) Message-ID: <20181218.154512.1787768748487573671.davem@davemloft.net> References: <20181217072512.14303-1-xiyou.wangcong@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, ying.xue@windriver.com, jon.maloy@ericsson.com To: xiyou.wangcong@gmail.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:44470 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726746AbeLRXpN (ORCPT ); Tue, 18 Dec 2018 18:45:13 -0500 In-Reply-To: <20181217072512.14303-1-xiyou.wangcong@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Cong Wang 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: syzbot+99f20222fc5018d2b97a@syzkaller.appspotmail.com > Cc: Ying Xue > Cc: Jon Maloy > Signed-off-by: Cong Wang Applied and queued up for -stable.