HomeFreeBSD

MFC r341326

Description

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

Details

Provenance
arybchikAuthored on
Differential Revision
D18287: sfxge(4): ensure EvQ poll stops when abort is requested
Parents
rS342520: MFC r341311
Branches
Unknown
Tags
Unknown