Page MenuHomeFreeBSD

pf: avoid passing through dummynet multiple times
ClosedPublic

Authored by kp on Mar 15 2024, 2:11 AM.
Tags
None
Referenced Files
F102035814: D44365.diff
Wed, Nov 6, 7:29 PM
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

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 Passed
Unit
No Test Coverage
Build Status
Buildable 56615
Build 53503: arc lint + arc unit

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.