Skip to content

Commit a275727

Browse files
Tuong Liendavem330
authored andcommitted
Revert "tipc: Fix potential tipc_aead refcnt leak in tipc_crypto_rcv"
This reverts commit 441870e. 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]>
1 parent 049fa17 commit a275727

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/tipc/crypto.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1712,7 +1712,6 @@ int tipc_crypto_rcv(struct net *net, struct tipc_crypto *rx,
17121712
case -EBUSY:
17131713
this_cpu_inc(stats->stat[STAT_ASYNC]);
17141714
*skb = NULL;
1715-
tipc_aead_put(aead);
17161715
return rc;
17171716
default:
17181717
this_cpu_inc(stats->stat[STAT_NOK]);

0 commit comments

Comments
 (0)