David Howells 37411cad63 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>
2017-03-03 09:48:00 -08:00
..
2017-01-22 16:46:13 -05:00
2017-02-27 18:43:47 -08:00
2017-02-28 15:36:09 -08:00
2016-12-03 23:54:25 -05:00
2017-02-21 13:25:22 -05:00
2016-12-25 17:21:22 +01:00
2017-02-27 18:43:47 -08:00
2017-02-20 11:13:37 -05:00
2016-10-20 11:23:08 -04:00
2017-01-24 11:07:35 +01:00
2017-02-10 14:31:51 -05:00