Re: [PATCH] scsi: cxgb4i,libcxgbi: add missing module_put()

2016-12-14 Thread Martin K. Petersen
> "Varun" == Varun Prakash writes: Varun> Add module_put() in cxgbi_sock_act_open_req_arp_failure() to Varun> release module reference in case of arp failure, also check Varun> return value of try_module_get() before posting active open hw Varun> cmd. Applied to

[PATCH] scsi: cxgb4i,libcxgbi: add missing module_put()

2016-12-07 Thread Varun Prakash
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 --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 11 ---