linux/net/rxrpc
Dan Carpenter 0e4699e4a3 rxrpc: checking for IS_ERR() instead of NULL
rxrpc_lookup_peer_rcu() and rxrpc_lookup_peer() return NULL on error, never
error pointers, so IS_ERR() can't be used.

Fix three callers of those functions.

Fixes: be6e6707f6 ('rxrpc: Rework peer object handling to use hash table and RCU')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
2016-06-22 09:09:58 +01:00
..
af_rxrpc.c rxrpc: checking for IS_ERR() instead of NULL 2016-06-22 09:09:58 +01:00
ar-internal.h rxrpc: Rework local endpoint management 2016-06-15 15:38:17 +01:00
call_accept.c rxrpc: checking for IS_ERR() instead of NULL 2016-06-22 09:09:58 +01:00
call_event.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
call_object.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
conn_event.c rxrpc: Rework local endpoint management 2016-06-15 15:38:17 +01:00
conn_object.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
input.c rxrpc: checking for IS_ERR() instead of NULL 2016-06-22 09:09:58 +01:00
insecure.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
Kconfig rxrpc: Absorb the rxkad security module 2016-04-11 15:34:41 -04:00
key.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
local_event.c rxrpc: Rework local endpoint management 2016-06-15 15:38:17 +01:00
local_object.c rxrpc: Rework local endpoint management 2016-06-15 15:38:17 +01:00
Makefile rxrpc: Separate local endpoint event handling out into its own file 2016-06-15 15:37:12 +01:00
misc.c rxrpc: Limit the listening backlog 2016-06-10 18:14:47 -07:00
output.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
peer_event.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
peer_object.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
proc.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
recvmsg.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
rxkad.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-06-10 11:52:24 -07:00
security.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
skbuff.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
sysctl.c rxrpc: Limit the listening backlog 2016-06-10 18:14:47 -07:00
transport.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
utils.c rxrpc: Rework peer object handling to use hash table and RCU 2016-06-15 10:12:33 +01:00