diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-04-26 17:20:38 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2008-04-26 17:20:38 -0500 |
commit | 2f48598d72d48b0575459e9a9323e2cfc6334481 (patch) | |
tree | bfee6a29e11f9f48ff85b48541ff01a4ee3032c8 /include | |
parent | 263c9f94c2136c849f28e526305b8556a62f6435 (diff) | |
download | open-iscsi-2f48598d72d48b0575459e9a9323e2cfc6334481.tar.gz |
Release transport entry when the transport is unloaded
When iscsid detects a new transport (e.g. iscsi_tcp, ib_iser), it
allocates an entry for it in the transport list. If the transport
is unloaded and then reloaded, iscsid would still use the old
transport entry. Therefore, the transport entry must be deleted
when the transport is unloaded.
Signed-off-by: Erez Zilber <erezz@voltaire.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iscsi_if.h b/include/iscsi_if.h index 6548560..19df961 100644 --- a/include/iscsi_if.h +++ b/include/iscsi_if.h @@ -58,6 +58,7 @@ enum iscsi_uevent_e { ISCSI_KEVENT_DESTROY_SESSION = KEVENT_BASE + 4, ISCSI_KEVENT_UNBIND_SESSION = KEVENT_BASE + 5, ISCSI_KEVENT_CREATE_SESSION = KEVENT_BASE + 6, + ISCSI_KEVENT_TRANS_ERROR = KEVENT_BASE + 7, }; enum iscsi_tgt_dscvr { |