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
Kconfig -rw-r--r-- 10.0 KB
Makefile -rw-r--r-- 507 bytes
autosleep.c -rw-r--r-- 2.6 KB
console.c -rw-r--r-- 3.5 KB
hibernate.c -rw-r--r-- 28.4 KB
main.c -rw-r--r-- 19.0 KB
power.h -rw-r--r-- 8.7 KB
poweroff.c -rw-r--r-- 990 bytes
process.c -rw-r--r-- 5.5 KB
qos.c -rw-r--r-- 19.1 KB
snapshot.c -rw-r--r-- 71.5 KB
suspend.c -rw-r--r-- 15.1 KB
suspend_test.c -rw-r--r-- 5.7 KB
swap.c -rw-r--r-- 37.5 KB
user.c -rw-r--r-- 10.2 KB
wakelock.c -rw-r--r-- 5.8 KB

back to top