Revert "tipc: Fix potential tipc_aead refcnt leak in tipc_crypto_rcv"
This reverts commit 441870ee42.
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>
This commit is contained in:
committed by
David S. Miller
parent
049fa17f7a
commit
a275727b18
@@ -1712,7 +1712,6 @@ exit:
|
|||||||
case -EBUSY:
|
case -EBUSY:
|
||||||
this_cpu_inc(stats->stat[STAT_ASYNC]);
|
this_cpu_inc(stats->stat[STAT_ASYNC]);
|
||||||
*skb = NULL;
|
*skb = NULL;
|
||||||
tipc_aead_put(aead);
|
|
||||||
return rc;
|
return rc;
|
||||||
default:
|
default:
|
||||||
this_cpu_inc(stats->stat[STAT_NOK]);
|
this_cpu_inc(stats->stat[STAT_NOK]);
|
||||||
|
|||||||
Reference in New Issue
Block a user