mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
sfxge(4): restore clearing of MCDI new epoch flag in common code
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6390
This commit is contained in:
parent
78e5c87c3b
commit
fdbffbab18
1 changed files with 3 additions and 0 deletions
|
|
@ -535,6 +535,9 @@ efx_mcdi_request_poll(
|
|||
/* Request complete */
|
||||
emip->emi_pending_req = NULL;
|
||||
|
||||
/* Ensure stale MCDI requests fail after an MC reboot. */
|
||||
emip->emi_new_epoch = B_FALSE;
|
||||
|
||||
EFSYS_UNLOCK(enp->en_eslp, state);
|
||||
|
||||
if ((rc = emrp->emr_rc) != 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue