aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/crypto.c
diff options
context:
space:
mode:
authorTuong Lien <[email protected]>2020-06-02 04:46:41 +0000
committerDavid S. Miller <[email protected]>2020-06-02 22:13:47 +0000
commita275727b1899d14d33d6c8c70f303b73f01cdbc6 (patch)
tree2d4027727ce5c7a55b00fd8fc10e9d7c37cce044 /net/tipc/crypto.c
parentRevert "tipc: Fix potential tipc_node refcnt leak in tipc_rcv" (diff)
downloadkernel-a275727b1899d14d33d6c8c70f303b73f01cdbc6.tar.gz
kernel-a275727b1899d14d33d6c8c70f303b73f01cdbc6.zip
Revert "tipc: Fix potential tipc_aead refcnt leak in tipc_crypto_rcv"
This reverts commit 441870ee4240cf67b5d3ab8e16216a9ff42eb5d6. Like the previous patch in this series, we revert the above commit that causes similar issues with the 'aead' object. Acked-by: Jon Maloy <[email protected]> Signed-off-by: Tuong Lien <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/crypto.c')
-rw-r--r--net/tipc/crypto.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tipc/crypto.c b/net/tipc/crypto.c
index 8c47ded2edb6..c8c47fc72653 100644
--- a/net/tipc/crypto.c
+++ b/net/tipc/crypto.c
@@ -1712,7 +1712,6 @@ exit:
case -EBUSY:
this_cpu_inc(stats->stat[STAT_ASYNC]);
*skb = NULL;
- tipc_aead_put(aead);
return rc;
default:
this_cpu_inc(stats->stat[STAT_NOK]);