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

(cherry picked from commit a1295b24842d209e6bf93a4823193d56ad2db064)

Details

Provenance
emasteAuthored on Aug 8 2024, 12:00 AM
Reviewer
kib
Differential Revision
D21037: linuxpki: correct is_{zero,broadcast}_ether_addr
Parents
rG6b6eebd39d5a: usr.sbin/gstat: add microsecond precision for disk latency
Branches
Unknown
Tags
Unknown