summaryrefslogtreecommitdiffstats
path: root/crypto/rsa-pkcs1pad.c
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2018-10-08 12:28:04 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-10-16 08:03:51 +0200
commit5df950994934814a8b91f0cf9f653842d2ba082d (patch)
tree9a9681458210283fb1f5c9a42ec339f76a3e77d5 /crypto/rsa-pkcs1pad.c
parentRDMA/bnxt_re: Wait for delayed work to finish before device removal (diff)
downloadlinux-5df950994934814a8b91f0cf9f653842d2ba082d.tar.xz
linux-5df950994934814a8b91f0cf9f653842d2ba082d.zip
RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails
In case the NQ alloc/enable fails, free up the already allocated/enabled NQ before reporting failure. Also, track the alloc/enable using proper state checking. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions