summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_smbios.c
diff options
context:
space:
mode:
authorMichael Brown2017-09-04 19:00:34 +0200
committerMichael Brown2017-09-04 19:00:34 +0200
commit306465bef3fbbe14e6270fecf3e2d0c427f4bbc7 (patch)
tree97e9e07ca885fe0d4bf7be206864792752fccbef /src/interface/linux/linux_smbios.c
parent[malloc] Avoid false positive warnings from valgrind (diff)
downloadipxe-306465bef3fbbe14e6270fecf3e2d0c427f4bbc7.tar.gz
ipxe-306465bef3fbbe14e6270fecf3e2d0c427f4bbc7.tar.xz
ipxe-306465bef3fbbe14e6270fecf3e2d0c427f4bbc7.zip
[linux] Impose receive quota on tap driver
The tap driver can retrieve a potentially unlimited number of packets in a single poll. This can lead to heap exhaustion under heavy load. Fix by imposing an artificial receive quota (as already used in other drivers without natural receive limits). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_smbios.c')
0 files changed, 0 insertions, 0 deletions