Page MenuHomeFreeBSD

carp: refactor packet tagging for ether_output()
ClosedPublic

Authored by kp on May 1 2024, 9:43 AM.
Tags
None
Referenced Files
F102706400: D45038.id138232.diff
Sat, Nov 16, 3:28 AM
F102701061: D45038.diff
Sat, Nov 16, 1:26 AM
Unknown Object (File)
Sat, Oct 26, 11:07 AM
Unknown Object (File)
Sun, Oct 20, 10:42 PM
Unknown Object (File)
Sun, Oct 20, 10:41 PM
Unknown Object (File)
Sun, Oct 20, 10:41 PM
Unknown Object (File)
Sun, Oct 20, 10:41 PM
Unknown Object (File)
Oct 4 2024, 11:31 AM

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