iscsi_read_from_socket can currently only read one PDU in each iscsi_service invocation even if there is more data available on the socket. This patch reads all PDUs until the socket would block. It enqueues all complete read PDUs and then processes them in order of arrival. Signed-off-by: Peter Lieven <pl@kamp.de>
28 KiB
28 KiB