Page MenuHomeFreeBSD

pf: avoid passing through dummynet multiple times
ClosedPublic

Authored by kp on Mar 15 2024, 2:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 4:11 PM
Unknown Object (File)
Tue, Oct 22, 5:57 AM
Unknown Object (File)
Sat, Oct 19, 8:48 PM
Unknown Object (File)
Sat, Oct 19, 8:48 PM
Unknown Object (File)
Sat, Oct 19, 8:26 PM
Unknown Object (File)
Sep 22 2024, 12:03 PM
Unknown Object (File)
Sep 18 2024, 3:06 AM
Unknown Object (File)
Sep 18 2024, 12:15 AM

Details

Summary

In some setups we end up with multiple states created for a single
packet, which in turn can mean we run the packet through dummynet
multiple times. That's not expected or intended. Mark each packet when
it goes through dummynet, and do not pass packet through dummynet if
they're marked as having already passed through.

See also: https://redmine.pfsense.org/issues/14854
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

kp requested review of this revision.Mar 15 2024, 2:11 AM
kp added a child revision: D44366: pf: fix dummynet + route-to.
This revision was not accepted when it landed; it landed in state Needs Review.Mar 19 2024, 3:30 PM
This revision was automatically updated to reflect the committed changes.