HomeFreeBSD

carp: refactor packet tagging for ether_output()

Description

carp: refactor packet tagging for ether_output()

  • 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.

Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D45038

Details

Provenance
glebiusAuthored on Apr 30 2024, 2:36 AM
kpCommitted on May 8 2024, 11:19 AM
Reviewer
kp
Differential Revision
D45038: carp: refactor packet tagging for ether_output()
Parents
rGcda57d955b25: carp: assert that we are calling correct input function. We are.
Branches
Unknown
Tags
Unknown