commit | 97ee630e2793b5b3db751c3e7324203f301fd3c5 | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Mon Jan 23 22:20:36 2023 +0000 |
committer | Michael Brown <mcb30@ipxe.org> | Mon Jan 23 22:23:09 2023 +0000 |
tree | 8cb6669eeaa05c9233f1932fe2c40f9ec7c3f857 | |
parent | e72670ad7ba6f6d8058359c990375e36e71a1cc4 [diff] |
[pxe] Discard queued PXE UDP packets when under memory pressure The PXE UDP receive queue may grow without limit if the PXE NBP does not call PXENV_UDP_READ sufficiently frequently. Fix by implementing a cache discarder for received PXE UDP packets (similar to the TCP cache discarder). Reported-by: Tal Shorer <shorer@amazon.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>