summaryrefslogtreecommitdiffstats
path: root/net/tipc/crypto.c
diff options
context:
space:
mode:
authorTuong Lien <tuong.t.lien@dektech.com.au>2020-06-02 06:46:41 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-03 00:13:47 +0200
commita275727b1899d14d33d6c8c70f303b73f01cdbc6 (patch)
tree2d4027727ce5c7a55b00fd8fc10e9d7c37cce044 /net/tipc/crypto.c
parentRevert "tipc: Fix potential tipc_node refcnt leak in tipc_rcv" (diff)
downloadlinux-a275727b1899d14d33d6c8c70f303b73f01cdbc6.tar.xz
linux-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 <jmaloy@redhat.com> Signed-off-by: Tuong Lien <tuong.t.lien@dektech.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-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]);