Re: [PATCH] iscsi: Don't destroy session if there are outstanding connections

2019-11-18 Thread Martin K. Petersen
Gabriel, > A faulty userspace that calls destroy_session() before destroying the > connections can trigger the failure. This patch prevents the issue by > refusing to destroy the session if there are outstanding connections. Ditto. Please send to linux-scsi@vger. -- Martin K. Petersen O

[PATCH] iscsi: Don't destroy session if there are outstanding connections

2019-11-17 Thread Gabriel Krisman Bertazi
From: Nick Black A faulty userspace that calls destroy_session() before destroying the connections can trigger the failure. This patch prevents the issue by refusing to destroy the session if there are outstanding connections. [ cut here ] kernel BUG at mm/slub.c:306! in