Page MenuHomeFreeBSD

Fix ENA keep alive timeout due to prolonged reset
Needs ReviewPublic

Authored by mk_semihalf.com on Tue, Oct 8, 7:26 AM.

Details

Reviewers
cperciva
mw
Summary

When the ENA_FLAG_DEVICE_RUNNING flag is disabled, the AENQ handlers
aren't executed. To fix that, the watchdog timestamp should be updated
just before enabling the watchdog.

Timer service was always being enabled, even if the device wasn't up
before the reset. That shouldn't happen, as the timer service is being
executed only for working interface.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped