diff options
author | Nicholas Bellinger <[email protected]> | 2012-03-09 23:45:38 -0800 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2012-03-10 14:42:56 -0800 |
commit | 031ed4d565b31880a4136bb7366bc89f5b1dba7d (patch) | |
tree | e905871a0c6706ca16f9df33dfaacebbf33a4ca3 /net/lapb/lapb_timer.c | |
parent | c7ec05c82bfd6acf1fd800d628591500805f3179 (diff) |
tcm_fc: Fix fc_exch memory leak in ft_send_resp_status
This patch fixes a bug in tcm_fc where fc_exch memory from fc_exch_mgr->ep_pool
is currently being leaked by ft_send_resp_status() usage. Following current
code in ft_queue_status() response path, using lport->tt.seq_send() needs to be
followed by a lport->tt.exch_done() in order to release fc_exch memory back into
libfc_em kmem_cache.
ft_send_resp_status() code is currently used in pre submit se_cmd ft_send_work()
error exceptions, TM request setup exceptions, and main TM response callback
path in ft_queue_tm_resp(). This bugfix addresses the leak in these cases.
Cc: Mark D Rustad <[email protected]>
Cc: Kiran Patil <[email protected]>
Cc: Robert Love <[email protected]>
Cc: Andy Grover <[email protected]>
Cc: [email protected]
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions