summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorBenjamin Wang <cpwang2009@gmail.com>2012-08-26 18:04:10 +0800
committerNicholas Bellinger <nab@linux-iscsi.org>2012-08-26 23:27:08 -0700
commit13b5533a38b1eec9d61a07711dc075f03ae47a36 (patch)
tree9b38e6c30109c74689dfca14f123eb71ff2e7f1e /tools/perf/scripts/python/futex-contention.py
parent4c054ba63ad47ef244cfcfa1cea38134620a5bae (diff)
target: Check idr_get_new return value in iscsi_login_zero_tsih_s1
This patch updates iscsi_login_zero_tsih_s1() usage for generating iscsi_session->session_index to properly check the return value from idr_get_new(), and reject the iSCSI login attempt with exception status ISCSI_LOGIN_STATUS_NO_RESOURCES in the event of a failure. Signed-off-by: Benjamin Wang <cpwang2009@gmail.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions