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)
(cherry picked from commit 6fb0634bc4ce5fe32312a53031e56fe866b0b24d)

Details

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