Page MenuHomeFreeBSD

TCP LRO: disable mbuf queuing when packet filter hooks are in place
ClosedPublic

Authored by tuexen on Feb 6 2024, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 24, 9:58 PM
Unknown Object (File)
Tue, Apr 22, 11:12 PM
Unknown Object (File)
Tue, Apr 22, 4:23 AM
Unknown Object (File)
Mon, Apr 21, 9:11 AM
Unknown Object (File)
Thu, Apr 17, 7:33 PM
Unknown Object (File)
Mon, Apr 14, 6:36 PM
Unknown Object (File)
Mar 16 2025, 5:04 AM
Unknown Object (File)
Feb 6 2025, 8:12 PM

Details

Summary

When doing mbuf queueing, the packet filter hooks in ether_demux(), ip_input(), and ip6_input() are by-passed. This means that the packet filters don't process incoming packets, which might result in connection failures. For example, the TCP sequence number validation, will result in dropping valid packets.

Please note that this patch is only disabling mbuf queueing, not LRO.

Thanks to Herbert J. Skuhra for reporting the issue.

Diff Detail

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