TCP currently neglects to allow sufficient space for its own headers when allocating I/O buffers. This problem is masked by the fact that the maximum link-layer header size (802.11) is substantially larger than the common Ethernet link-layer header. Fix by allowing sufficient space for any TCP headers, as well as the network-layer and link-layer headers. Reported-by: Scott K Logan <logans@cottsay.net> Debugged-by: Scott K Logan <logans@cottsay.net> Tested-by: Scott K Logan <logans@cottsay.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
308 |
|
308 |
|
309 |
|
309 |
|
310 |
|
310 |
|
|
311 |
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
311 |
|
321 |
|
312 |
|
322 |
|
313 |
|
323 |
|
|
|
||
509 |
|
509 |
|
510 |
|
510 |
|
511 |
|
511 |
|
512 |
|
|
|
|
512 |
|
|
513 |
|
513 |
|
514 |
|
514 |
|
515 |
|
515 |
|
516 |
|
516 |
|
517 |
|
517 |
|
518 |
|
518 |
|
519 |
|
|
|
|
519 |
|
|
520 |
|
520 |
|
521 |
|
521 |
|
522 |
|
522 |
|
|
|
||
653 |
|
653 |
|
654 |
|
654 |
|
655 |
|
655 |
|
656 |
|
|
|
|
656 |
|
|
657 |
|
657 |
|
658 |
|
658 |
|
659 |
|
659 |
|
660 |
|
660 |
|
661 |
|
661 |
|
662 |
|
662 |
|
663 |
|
|
|
|
663 |
|
|
664 |
|
664 |
|
665 |
|
665 |
|
666 |
|
666 |
|