HomeFreeBSD

Fix an iflib driver unload panic introduced in r343085

Description

Fix an iflib driver unload panic introduced in r343085

The new loop to sync and unload descriptors was indexed
by "i", rather than "j". The panic was caused by "i"
being advanced rather than "j", and eventually becoming
out of bounds.

Reviewed by: kib
MFC after: 3 days
Sponsored by: Netflix

Details

Provenance
gallatinAuthored on
Reviewer
kib
Parents
rS343429: clang: default to DWARF 4 as of FreeBSD 13
Branches
Unknown
Tags
Unknown