rxrpc: Rework peer object handling to use hash table and RCU
David Howells
dhowells at redhat.com
Tue Jun 21 03:19:29 PDT 2016
Dan Carpenter <dan.carpenter at oracle.com> wrote:
> The patch be6e6707f6ee: "rxrpc: Rework peer object handling to use
> hash table and RCU" from Apr 4, 2016, leads to the following static
> checker warning:
>
> net/rxrpc/af_rxrpc.c:250 rxrpc_name_to_transport()
> warn: 'peer' isn't an ERR_PTR
>
> net/rxrpc/af_rxrpc.c
> 247
> 248 /* find a remote transport endpoint from the local one */
> 249 peer = rxrpc_lookup_peer(rx->local, srx, gfp);
> 250 if (IS_ERR(peer)
> 251 return ERR_CAST(peer);
> 252
>
> See also:
>
> net/rxrpc/call_accept.c:99 rxrpc_accept_incoming_call()
> warn: 'peer' isn't an ERR_PTR
I've rolled fixes for these into the patch you've already sent me.
David
More information about the linux-afs
mailing list