mikechristie/open-iscsi — pull request #5 by jduanen (2014-05-14 18:33:58+00:00)
Title: Update mgmt_ipc.c

Ran into a problem where iscsiadm was closing an already closed fd (returning EBADF).
Seems like the close() in line 466 is redundant as it is done in mgmt_ipc_destroy_queue_task().
Could also assign qtask->mgmt_ipc_fd to NULL, but it seems better to do it this way.