Make iscsi_ioctl_daemon_send() actually work by adding missing locking.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
825f02a9ed
commit
0fbbc37da3
@ -1620,7 +1620,9 @@ iscsi_ioctl_daemon_send(struct iscsi_softc *sc,
|
||||
KASSERT(error == 0, ("icl_pdu_append_data(..., M_WAITOK) failed"));
|
||||
free(data, M_ISCSI);
|
||||
}
|
||||
ISCSI_SESSION_LOCK(is);
|
||||
icl_pdu_queue(ip);
|
||||
ISCSI_SESSION_UNLOCK(is);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user