[PATCH net-next] rxrpc: checking for IS_ERR() instead of NULL

David Miller davem at davemloft.net
Fri Jul 15 14:16:41 PDT 2016


From: David Howells <dhowells at redhat.com>
Date: Thu, 14 Jul 2016 15:47:01 +0100

> From: Dan Carpenter <dan.carpenter at oracle.com>
> 
> The rxrpc_lookup_peer() function returns NULL on error, it never returns
> error pointers.
> 
> Fixes: 8496af50eb38 ('rxrpc: Use RCU to access a peer's service connection tree')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: David Howells <dhowells at redhat.com>

Applied.



More information about the linux-afs mailing list