mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
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 <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>