HomeFreeBSD

sys/dev/irdma/irdma_cm: fix compile without INET

Description

sys/dev/irdma/irdma_cm: fix compile without INET

irdma_get_vlan_ipv4() calls ip_ifp_find() even if INET isn't defined, in
which case this function isn't available.

Stub this out for the non-INET case to return an error (0xffff) instead.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1156

Details

Provenance
lexi_le-fay.orgAuthored on Apr 12 2024, 4:47 PM
impCommitted on Apr 12 2024, 4:47 PM
Parents
rG122dd78c143e: sys/netipsec: fix IPSEC_SUPPORT for non-INET kernels
Branches
Unknown
Tags
Unknown