diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2022-08-26 06:45:38 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-08-26 06:45:38 +0200 |
commit | ec6624452e36158d0813758d837f7a2263a4109d (patch) | |
tree | d87a97b450d21edc0fafcfcb1e5b13020249bd60 /net/rxrpc/call_object.c | |
parent | Merge branch 'linus' (diff) | |
parent | Merge tag 'net-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netd... (diff) | |
download | linux-ec6624452e36158d0813758d837f7a2263a4109d.tar.xz linux-ec6624452e36158d0813758d837f7a2263a4109d.zip |
Merge branch 'linus'
Diffstat (limited to 'net/rxrpc/call_object.c')
-rw-r--r-- | net/rxrpc/call_object.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rxrpc/call_object.c b/net/rxrpc/call_object.c index 84d0a4109645..6401cdf7a624 100644 --- a/net/rxrpc/call_object.c +++ b/net/rxrpc/call_object.c @@ -285,8 +285,10 @@ struct rxrpc_call *rxrpc_new_client_call(struct rxrpc_sock *rx, _enter("%p,%lx", rx, p->user_call_ID); limiter = rxrpc_get_call_slot(p, gfp); - if (!limiter) + if (!limiter) { + release_sock(&rx->sk); return ERR_PTR(-ERESTARTSYS); + } call = rxrpc_alloc_client_call(rx, srx, gfp, debug_id); if (IS_ERR(call)) { |