HomeFreeBSD

pf: remove incorrect SUNION2PF() macro

Description

pf: remove incorrect SUNION2PF() macro

It casts in_addr to pf_addr, which is smaller, so this isn't quite right.
Replace it with a function that will only read the actual address.

Reported by: CheriBSD
Event: Kitchener-Waterloo Hackathon 202406

Details

Provenance
kpAuthored on Wed, Jun 5, 3:28 PM
Parents
rG8d3c3b52423f: mpi3mr: Track IO per target counter during queue poll with local variable
Branches
Unknown
Tags
Unknown