Page MenuHomeFreeBSD

tcp: improve consistency
ClosedPublic

Authored by tuexen on Aug 20 2024, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 6:13 AM
Unknown Object (File)
Sun, Sep 28, 4:22 PM
Unknown Object (File)
Thu, Sep 25, 8:09 AM
Unknown Object (File)
Sat, Sep 20, 10:47 PM
Unknown Object (File)
Wed, Sep 17, 9:33 AM
Unknown Object (File)
Sep 4 2025, 3:05 PM
Unknown Object (File)
Aug 28 2025, 5:34 AM
Unknown Object (File)
Aug 4 2025, 1:15 PM

Details

Summary

Use LIST_FOREACH_SAFE() instead of LIST_FOREACH() since in the body of the loop we remove the entry from the list and insert it in another one. This makes tcp_lro_flush_active() consistent with tcp_lro_flush_inactive().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable