HomeFreeBSD

linuxkpi: use canonical tests for is_{zero,broadcast}_ether_addr

Description

linuxkpi: use canonical tests for is_{zero,broadcast}_ether_addr

They are functionally equivalent, but the updated form mirrors the tests
in sys/net/ethernet.h and avoids confusion.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21037

Details

Provenance
emasteAuthored on Aug 8 2024, 12:00 AM
Reviewer
kib
Differential Revision
D21037: linuxpki: correct is_{zero,broadcast}_ether_addr
Parents
rG57cc80e6e39e: rangelocks: re-check that the lock is still in the cheating mode after setting…
Branches
Unknown
Tags
Unknown