HomeFreeBSD

cxgbe/iw_cxgbe: c4iw_zero_addr should not use IN_ZERONET.

Description

cxgbe/iw_cxgbe: c4iw_zero_addr should not use IN_ZERONET.

c4iw_zero_addr is supposed to check for all-zero addresses but was using
IN_ZERONET (which does something different) for IPv4 addresses. Fix it
by simply checking for 0 as is done for IPv6 addresses.

Reported by: karels@
Sponsored by: Chelsio Communications

(cherry picked from commit 87c5ff0648a8e88b71a66994e1f9ca127fd4ed83)

Details

Provenance
npAuthored on May 19 2022, 7:25 PM
Parents
rG1af49ac2e40e: cxgbetool(8): User interface to round-robin queue selection via COP.
Branches
Unknown
Tags
Unknown