Re: [PATCH net] rxrpc: Fix user call ID check in rxrpc_service_prealloc_one

From: David Miller
Date: Wed Aug 01 2018 - 14:52:15 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Wed, 01 Aug 2018 13:27:23 +0100

> From: YueHaibing <yuehaibing@xxxxxxxxxx>
>
> 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 <dhowells@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Applied and queued up for -stable.