socket: process PDUs directly after receiving them

this eliminated the need for an inqueue

Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
Peter Lieven
2017-01-06 11:48:17 +01:00
parent e058e825bf
commit eb7c1d9b0c
4 changed files with 4 additions and 32 deletions

View File

@@ -61,7 +61,6 @@ struct iscsi_in_pdu {
unsigned char *data;
};
void iscsi_free_iscsi_in_pdu(struct iscsi_context *iscsi, struct iscsi_in_pdu *in);
void iscsi_free_iscsi_inqueue(struct iscsi_context *iscsi, struct iscsi_in_pdu *inqueue);
/* size of chap response field */
#define CHAP_R_SIZE 16
@@ -143,7 +142,6 @@ struct iscsi_context {
struct iscsi_pdu *waitpdu;
struct iscsi_in_pdu *incoming;
struct iscsi_in_pdu *inqueue;
uint32_t max_burst_length;
uint32_t first_burst_length;