Some iSCSI targets respond to a PDU before receiving the padding bytes. If the target responds quickly enough, this can cause iPXE to start processing a new TX PDU before the padding bytes have been sent, which results in a protocol violation. Fix by always transmitting the padding bytes along with the data segment. Originally-fixed-by: Shyam Iyer <shyam_iyer@dell.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
515 |
|
515 |
|
516 |
|
516 |
|
517 |
|
517 |
|
518 |
|
|
|
519 |
|
|
|
520 |
|
518 |
|
521 |
|
519 |
|
522 |
|
520 |
|
|
|
||
570 |
|
570 |
|
571 |
|
571 |
|
572 |
|
572 |
|
|
573 |
|
|
573 |
|
574 |
|
574 |
|
575 |
|
575 |
|
576 |
|
|
577 |
|
|
576 |
|
578 |
|
577 |
|
579 |
|
578 |
|
580 |
|
579 |
|
581 |
|
580 |
|
582 |
|
581 |
|
|
|
|
583 |
|
|
582 |
|
584 |
|
583 |
|
585 |
|
584 |
|
586 |
|
585 |
|
587 |
|
586 |
|
588 |
|
|
589 |
|
|
587 |
|
590 |
|
588 |
|
591 |
|
589 |
|
592 |
|
|
|
||
801 |
|
804 |
|
802 |
|
805 |
|
803 |
|
806 |
|
|
807 |
|
|
804 |
|
808 |
|
805 |
|
809 |
|
806 |
|
|
|
|
810 |
|
|
|
811 |
|
|
807 |
|
812 |
|
808 |
|
813 |
|
809 |
|
814 |
|
810 |
|
815 |
|
|
816 |
|
|
|
817 |
|
|
811 |
|
818 |
|
812 |
|
819 |
|
813 |
|
820 |
|
|
|
||
1415 |
|
1422 |
|
1416 |
|
1423 |
|
1417 |
|
1424 |
|
1418 |
|
|
|
1419 |
|
|
|
1420 |
|
|
|
1421 |
|
|
|
1422 |
|
|
|
1423 |
|
|
|
1424 |
|
|
|
1425 |
|
|
|
1426 |
|
|
|
1427 |
|
|
|
1428 |
|
|
|
1429 |
|
|
|
1430 |
|
|
|
1431 |
|
|
|
1432 |
|
|
|
1433 |
|
|
|
1434 |
|
|
|
1435 |
|
|
|
1436 |
|
|
|
1437 |
|
|
|
1438 |
|
|
|
1439 |
|
1425 |
|
1440 |
|
1426 |
|
1441 |
|
1427 |
|
|
|
||
1494 |
|
1480 |
|
1495 |
|
1481 |
|
1496 |
|
1482 |
|
1497 |
|
|
|
1498 |
|
|
|
1499 |
|
|
|
1500 |
|
|
|
1501 |
|
|
|
1502 |
|
1483 |
|
1503 |
|
1484 |
|
1504 |
|
1485 |
|