aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVarun Prakash <[email protected]>2017-10-11 19:33:21 +0530
committerMartin K. Petersen <[email protected]>2017-10-11 14:26:49 -0400
commit2269848386c4b8395bc67eaaf7d08011da7c07ef (patch)
tree5bfdb300156c62f189890dc004f2b19a62461a26 /tools/perf/scripts/python/bin
parent9b3a081fb62158b50bcc90522ca2423017544367 (diff)
scsi: libcxgbi: simplify task->hdr allocation for mgmt cmds
In case of mgmt cmds, task->hdr is dereferenced after transmitting the pdu in iscsi_tcp_task_xmit(). To handle this case current code increments the Tx skb reference count and frees the skb in cxgbi_cleanup_task(). In some error cases this results in skb leak. To fix this in case of mgmt cmds, allocate a separate buffer for iSCSI hdr and free this buffer in cxgbi_cleanup_task(). Signed-off-by: Varun Prakash <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions