summaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-03-03 00:48:52 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-03 18:48:00 +0100
commit37411cad633f5e41f8a13007654909d21b19363a (patch)
tree70d30d65492ab3dcd358684598edaac071670f99 /net/rds/rds.h
parentMerge branch 'nfp-fixes' (diff)
downloadlinux-37411cad633f5e41f8a13007654909d21b19363a.tar.xz
linux-37411cad633f5e41f8a13007654909d21b19363a.zip
rxrpc: Fix potential NULL-pointer exception
Fix a potential NULL-pointer exception in rxrpc_do_sendmsg(). The call state check that I added should have gone into the else-body of the if-statement where we actually have a call to check. Found by CoverityScan CID#1414316 ("Dereference after null check"). Fixes: 540b1c48c37a ("rxrpc: Fix deadlock between call creation and sendmsg/recvmsg") Reported-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rds.h')
0 files changed, 0 insertions, 0 deletions