X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=net%2Frxrpc%2Far-accept.c;h=77228f28fa363240fce7da4e32d0b81bd8ea3951;hb=1a1dc50442ef1a3e5ef938a8541466ac38d163a9;hp=bdfb7741779441c3752176c5ad3ce585cc30cfc2;hpb=cf8c0d1dbcfaba56adde85b63190a8bceda0cd04;p=linux-2.6-omap-h63xx.git diff --git a/net/rxrpc/ar-accept.c b/net/rxrpc/ar-accept.c index bdfb7741779..77228f28fa3 100644 --- a/net/rxrpc/ar-accept.c +++ b/net/rxrpc/ar-accept.c @@ -100,7 +100,7 @@ static int rxrpc_accept_incoming_call(struct rxrpc_local *local, trans = rxrpc_get_transport(local, peer, GFP_NOIO); rxrpc_put_peer(peer); - if (!trans) { + if (IS_ERR(trans)) { _debug("no trans"); ret = -EBUSY; goto error;