HomeFreeBSD

Fix an accounting bug where data was counted twice if on the read

Description

Fix an accounting bug where data was counted twice if on the read
queue and on the ordered or unordered queue.
While there, improve the checking in INVARIANTs when computing the
a_rwnd.

MFC after: 3 days

Details

Provenance
tuexenAuthored on
Parents
rS325433: namecache: skip locking in cache_purge_negative if there are no entries
Branches
Unknown
Tags
Unknown