lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 13 Apr 2022 21:49:45 -0400 From: Wenchao Hao <haowenchao@...wei.com> To: Mike Christie <michael.christie@...cle.com>, Lee Duncan <lduncan@...e.com>, Chris Leech <cleech@...hat.com>, "James E . J . Bottomley" <jejb@...ux.ibm.com>, "Martin K . Petersen" <martin.petersen@...cle.com>, <open-iscsi@...glegroups.com>, <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org> CC: <linfeilong@...wei.com>, Wenchao Hao <haowenchao@...wei.com> Subject: [PATCH 0/2] Fix multiple iscsi session unbind event sent to userspace kernel would send ISCSI_KEVENT_UNBIND_SESSION twice to userspace, for open-iscsi, this would trigger iscsi_stop twice. We should fix this issue. Here introduced a new session state ISCSI_SESSION_UNBOUND to address it. Once session state is ISCSI_KEVENT_UNBIND_SESSION, it means __iscsi_unbind_session() has been called for this session and do not need to execute any more. Reference:https://github.com/open-iscsi/open-iscsi/issues/338 Wenchao Hao (2): scsi: iscsi: introduce session UNBOUND state to avoid multiple unbind event iscsi: set session to FREE state after unbind session in remove session drivers/scsi/scsi_transport_iscsi.c | 45 +++++++++++++++++++++-------- include/scsi/scsi_transport_iscsi.h | 1 + 2 files changed, 34 insertions(+), 12 deletions(-) -- 2.32.0
Powered by blists - more mailing lists