Page MenuHomeFreeBSD

carp: refactor packet tagging for ether_output()
ClosedPublic

Authored by kp on May 1 2024, 9:43 AM.
Tags
None
Referenced Files
F86890501: D45038.diff
Thu, Jun 27, 2:42 AM
Unknown Object (File)
Sat, Jun 8, 12:00 AM
Unknown Object (File)
May 22 2024, 10:34 PM
Unknown Object (File)
May 16 2024, 6:12 AM
Unknown Object (File)
May 8 2024, 3:02 PM
Unknown Object (File)
May 4 2024, 6:52 PM
Unknown Object (File)
May 1 2024, 11:55 PM
Unknown Object (File)
May 1 2024, 10:45 PM

Details

Summary
  • Separate HMAC preparation (CARP specific) from tagging.
  • In unicast mode (CARP specific) don't put tag at all.
  • Don't put pointer to software context into the tag. Putting just vhid, an integer value, is a safer design.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57488
Build 54376: arc lint + arc unit