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)
Oct 20 2024, 1:01 PM
Unknown Object (File)
Oct 20 2024, 1:01 PM
Unknown Object (File)
Oct 20 2024, 1:01 PM
Unknown Object (File)
Oct 20 2024, 12:39 PM
Unknown Object (File)
Oct 12 2024, 6:30 PM
Unknown Object (File)
Oct 11 2024, 4:51 PM
Unknown Object (File)
Oct 11 2024, 4:51 PM
Unknown Object (File)
Oct 11 2024, 4:46 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 Skipped
Unit
Tests Skipped