summaryrefslogtreecommitdiff
path: root/ifpps/.gitignore
AgeCommit message (Expand)AuthorFilesLines
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+4
t;2016-08-22 10:54:07 +0200 committerNicholas Bellinger <nab@linux-iscsi.org>2016-10-21 01:19:41 -0700 commit1b4c59b7a1d0b9d8019254a5f2e35b2663f49a9e (patch) tree205b14587942953e85ff09798ac87d7ce1497f30 parent61f36166c245e563c7a2b624f4c78c5ce0f680d6 (diff)
target: fix potential race window in target_sess_cmd_list_waiting()
target_sess_cmd_list_waiting() might hit on a condition where the kref for the command is already 0, but the destructor has not been called yet (or is stuck in waiting for a spin lock). Rather than leaving the command on the list we should explicitly remove it to avoid race issues later on. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat