drop ISCSI_PDU_URGENT_DELIVERY
its not needed anymore Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -229,11 +229,6 @@ struct iscsi_pdu {
|
|||||||
#define ISCSI_PDU_DROP_ON_RECONNECT 0x00000004
|
#define ISCSI_PDU_DROP_ON_RECONNECT 0x00000004
|
||||||
/* stop sending after this PDU has been sent */
|
/* stop sending after this PDU has been sent */
|
||||||
#define ISCSI_PDU_CORK_WHEN_SENT 0x00000008
|
#define ISCSI_PDU_CORK_WHEN_SENT 0x00000008
|
||||||
/* put this immediate delivery PDU in front of outqueue.
|
|
||||||
* This is currently only used for immediate logout requests
|
|
||||||
* as answer to an async logout event. */
|
|
||||||
#define ISCSI_PDU_URGENT_DELIVERY 0x00000010
|
|
||||||
|
|
||||||
|
|
||||||
uint32_t flags;
|
uint32_t flags;
|
||||||
|
|
||||||
|
|||||||
@@ -102,8 +102,7 @@ iscsi_add_to_outqueue(struct iscsi_context *iscsi, struct iscsi_pdu *pdu)
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
if (iscsi_serial32_compare(pdu->cmdsn, current->cmdsn) < 0 ||
|
if (iscsi_serial32_compare(pdu->cmdsn, current->cmdsn) < 0 ||
|
||||||
(pdu->outdata.data[0] & ISCSI_PDU_IMMEDIATE && !(current->outdata.data[0] & ISCSI_PDU_IMMEDIATE)) ||
|
(pdu->outdata.data[0] & ISCSI_PDU_IMMEDIATE && !(current->outdata.data[0] & ISCSI_PDU_IMMEDIATE))) {
|
||||||
pdu->flags & ISCSI_PDU_URGENT_DELIVERY) {
|
|
||||||
/* insert PDU before the current */
|
/* insert PDU before the current */
|
||||||
if (last != NULL) {
|
if (last != NULL) {
|
||||||
last->next=pdu;
|
last->next=pdu;
|
||||||
|
|||||||
Reference in New Issue
Block a user