Page MenuHomeFreeBSD

siftr: apply filter early on
ClosedPublic

Authored by rscheff on Sep 30 2022, 4:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 1 2024, 9:48 AM
Unknown Object (File)
Sep 28 2024, 9:25 PM
Unknown Object (File)
Sep 26 2024, 11:38 AM
Unknown Object (File)
Sep 25 2024, 4:31 PM
Unknown Object (File)
Sep 21 2024, 9:53 PM
Unknown Object (File)
Sep 20 2024, 1:08 AM
Unknown Object (File)
Sep 19 2024, 5:26 AM
Unknown Object (File)
Sep 18 2024, 5:25 AM
Subscribers

Details

Summary

Move the port filter to quickly check TCP ports early on,
before investing into expensive operations such as reinject
checking and locating the INP.

No functional change.

Obtained from: guest-ccui
Sponsored by: NetApp, Inc.

Diff Detail

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

Event Timeline

cc requested changes to this revision.Sep 30 2022, 5:03 PM
cc added inline comments.
sys/netinet/siftr.c
869

Sorry, my bad. Forgot to switch back to "th->th_sport" and "th->th_dport".

1054

Same here. Switch to "th->th_sport" and "th->th_dport".

This revision now requires changes to proceed.Sep 30 2022, 5:03 PM

Looks good. Thanks.

This revision is now accepted and ready to land.Oct 7 2022, 12:20 PM
This revision was automatically updated to reflect the committed changes.