From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] rxrpc: Fix user call ID check in rxrpc_service_prealloc_one Date: Wed, 01 Aug 2018 11:52:11 -0700 (PDT) Message-ID: <20180801.115211.922499763840107773.davem@davemloft.net> References: <153312644299.23453.6879704964860340038.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org To: dhowells@redhat.com Return-path: In-Reply-To: <153312644299.23453.6879704964860340038.stgit@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: David Howells Date: Wed, 01 Aug 2018 13:27:23 +0100 > From: YueHaibing > > There just check the user call ID isn't already in use, hence should > compare user_call_ID with xcall->user_call_ID, which is current > node's user_call_ID. > > Fixes: 540b1c48c37a ("rxrpc: Fix deadlock between call creation and sendmsg/recvmsg") > Suggested-by: David Howells > Signed-off-by: YueHaibing > Signed-off-by: David Howells Applied and queued up for -stable.