Page MenuHomeFreeBSD

pf: fix dummynet + route-to
ClosedPublic

Authored by kp on Mar 15 2024, 2:11 AM.
Tags
None
Referenced Files
F115902452: D44366.id135953.diff
Wed, Apr 30, 5:21 AM
F115897239: D44366.diff
Wed, Apr 30, 3:47 AM
Unknown Object (File)
Mon, Apr 21, 8:31 AM
Unknown Object (File)
Sun, Apr 20, 11:10 AM
Unknown Object (File)
Wed, Apr 16, 10:48 AM
Unknown Object (File)
Mon, Apr 14, 12:44 AM
Unknown Object (File)
Mar 15 2025, 4:05 AM
Unknown Object (File)
Mar 4 2025, 8:28 AM

Details

Reviewers
None
Group Reviewers
network
pfsense
Commits
rGc6f111635790: pf: fix dummynet + route-to
Summary

Ensure that we pick the correct dummynet pipe (i.e. forward vs. reverse
direction) when applying route-to.

We mark the processing as outbound so that dummynet will re-inject in
the correct phase of processing after it's done with the packet, but
that will cause us to pick the wrong pipe number. Reverse them so that
the incorrect decision ends up picking the correct pipe.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56616
Build 53504: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 19 2024, 3:31 PM
This revision was automatically updated to reflect the committed changes.