]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[undi] Place an upper limit on the number of PXENV_UNDI_ISR calls per poll
authorMichael Brown <mcb30@ipxe.org>
Sat, 3 May 2014 11:53:20 +0000 (12:53 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 3 May 2014 18:52:10 +0000 (19:52 +0100)
commit69313edad85f8958acc8a47272b3c3da494835ec
tree3702e608385e32e8cb7bc02d07979687f0589e11
parent71ed061776bcb3b58ee32a3d40bfa47109717c19
[undi] Place an upper limit on the number of PXENV_UNDI_ISR calls per poll

PXENV_UNDI_ISR calls may implicitly refill the underlying receive
ring, and so could continue to retrieve packets indefinitely.  Place
an upper limit on the number of calls to PXENV_UNDI_ISR per call to
undinet_poll().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/drivers/net/undinet.c