diff options
Diffstat (limited to 'net/rxrpc/ar-accept.c')
-rw-r--r-- | net/rxrpc/ar-accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/ar-accept.c b/net/rxrpc/ar-accept.c index bdfb77417794..77228f28fa36 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, | |||
100 | 100 | ||
101 | trans = rxrpc_get_transport(local, peer, GFP_NOIO); | 101 | trans = rxrpc_get_transport(local, peer, GFP_NOIO); |
102 | rxrpc_put_peer(peer); | 102 | rxrpc_put_peer(peer); |
103 | if (!trans) { | 103 | if (IS_ERR(trans)) { |
104 | _debug("no trans"); | 104 | _debug("no trans"); |
105 | ret = -EBUSY; | 105 | ret = -EBUSY; |
106 | goto error; | 106 | goto error; |