diff options
author | Varun Prakash <varun@chelsio.com> | 2016-12-07 18:36:45 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-12-14 23:11:17 +0300 |
commit | 1fe1fdb04b92f54b58eb8b71d2f28cf73fd9801c (patch) | |
tree | 3c21c2a8c90ac3f30e4a3b682ae0a533c861e1f1 /drivers/scsi/scsi_module.c | |
parent | 44830d8fd28a729729d14bb160341a6170631eb7 (diff) | |
download | linux-1fe1fdb04b92f54b58eb8b71d2f28cf73fd9801c.tar.xz |
scsi: cxgb4i: libcxgbi: add missing module_put()
Add module_put() in cxgbi_sock_act_open_req_arp_failure() to release
module reference in case of arp failure, also check return value of
try_module_get() before posting active open hw cmd.
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_module.c')
0 files changed, 0 insertions, 0 deletions