Page MenuHomeFreeBSD

tcp: improve consistency
ClosedPublic

Authored by tuexen on Aug 20 2024, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 22, 2:31 PM
Unknown Object (File)
Sat, Feb 22, 1:46 PM
Unknown Object (File)
Sat, Feb 22, 1:29 PM
Unknown Object (File)
Thu, Feb 20, 6:56 AM
Unknown Object (File)
Wed, Feb 5, 2:58 PM
Unknown Object (File)
Wed, Feb 5, 1:04 PM
Unknown Object (File)
Jan 27 2025, 9:15 PM
Unknown Object (File)
Jan 26 2025, 9:38 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