summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-08-01 15:27:23 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-01 21:49:49 +0300
commitc01f6c9b3207e52fc9973a066a856ddf7a0538d8 (patch)
tree829bd9ab350898aa030f3a1be318ce38b884024e /drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
parenta94c689e6c9e72e722f28339e12dff191ee5a265 (diff)
downloadlinux-c01f6c9b3207e52fc9973a066a856ddf7a0538d8.tar.xz
rxrpc: Fix user call ID check in rxrpc_service_prealloc_one
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>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c')
0 files changed, 0 insertions, 0 deletions