Searched hist:342450 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/dev/sfxge/common/
H A Defx_ev.cdiff 342450 Tue Dec 25 07:39:13 MST 2018 arybchik MFC r341326

sfxge(4): ensure EvQ poll stops when abort is requested

If an event handler requested an abort, only the inner loop was
guarenteed to be broken out of - the outer loop could continue
if total == batch.

Fix this by poisoning batch to ensure it is different to total.

Submitted by: Mark Spender <mspender at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18287

Completed in 65 milliseconds