Page MenuHomeFreeBSD

tcp: improve consistency
ClosedPublic

Authored by tuexen on Aug 20 2024, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 9, 11:26 AM
Unknown Object (File)
Sun, Feb 8, 1:04 PM
Unknown Object (File)
Sun, Feb 8, 2:23 AM
Unknown Object (File)
Fri, Jan 30, 7:21 PM
Unknown Object (File)
Dec 25 2025, 7:04 AM
Unknown Object (File)
Nov 24 2025, 3:18 PM
Unknown Object (File)
Nov 22 2025, 7:04 PM
Unknown Object (File)
Nov 21 2025, 12:33 AM

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