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

From: David Miller
Date: Fri Jul 15 2016 - 17:16:49 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Thu, 14 Jul 2016 15:47:01 +0100

> From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Applied.