summaryrefslogtreecommitdiff
path: root/usr/netlink.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-05-19 18:10:33 -0500
committerMike Christie <michaelc@cs.wisc.edu>2008-05-19 21:20:06 -0500
commitdc75ff01ee126dbde42d4f2fe975c17e25719cf9 (patch)
tree7113fda7bef8ad4d3ae7b773faebd229626e92aa /usr/netlink.c
parent548209b06fbe2cc6069734e7e9e6a0903835252a (diff)
downloadopen-iscsi-dc75ff01ee126dbde42d4f2fe975c17e25719cf9.tar.gz
Revert Release-transport-entry-when-the-transport-is-unload.patch
We do not need a new event to figure out that a transport is missing. We can just check before accessing the transport. This reverts the original patch. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Diffstat (limited to 'usr/netlink.c')
-rw-r--r--usr/netlink.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/usr/netlink.c b/usr/netlink.c
index f039aff..c9598a5 100644
--- a/usr/netlink.c
+++ b/usr/netlink.c
@@ -918,16 +918,6 @@ static int ctldev_handle(void)
; /* fall through */
}
- /* Handle transport error which is not connection related */
- if (ev->type == ISCSI_KEVENT_TRANS_ERROR) {
- rc = free_transport_by_handle(ev->transport_handle);
- if (rc) {
- log_error("Could not release transport 0x%lx\n", ev->transport_handle);
- }
- drop_data(nlh);
- return rc;
- }
-
/* verify connection */
session = session_find_by_sid(sid);
if (!session) {