https://github.com/torvalds/linux
Revision c01f6c9b3207e52fc9973a066a856ddf7a0538d8 authored by YueHaibing on 01 August 2018, 12:27:23 UTC, committed by David S. Miller on 01 August 2018, 18:49:49 UTC
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@redhat.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a94c689
History
Tip revision: c01f6c9b3207e52fc9973a066a856ddf7a0538d8 authored by YueHaibing on 01 August 2018, 12:27:23 UTC
rxrpc: Fix user call ID check in rxrpc_service_prealloc_one
Tip revision: c01f6c9
File Mode Size
Makefile -rw-r--r-- 244 bytes
callchain.c -rw-r--r-- 5.7 KB
core.c -rw-r--r-- 278.8 KB
hw_breakpoint.c -rw-r--r-- 16.5 KB
internal.h -rw-r--r-- 5.7 KB
ring_buffer.c -rw-r--r-- 20.4 KB
uprobes.c -rw-r--r-- 50.1 KB

back to top