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-- 61.5 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.6 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.5 KB
do_mounts_md.c -rw-r--r-- 8.2 KB
do_mounts_rd.c -rw-r--r-- 8.4 KB
init_task.c -rw-r--r-- 5.1 KB
initramfs.c -rw-r--r-- 14.1 KB
main.c -rw-r--r-- 28.4 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.2 KB

back to top