Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

llfw
Copy link
Contributor

@llfw llfw commented Apr 8, 2024

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.

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.
@bsdimp
Copy link
Member

bsdimp commented Apr 12, 2024

merged.

@bsdimp bsdimp closed this Apr 12, 2024
@bsdimp bsdimp added the merged label Apr 12, 2024
freebsd-git pushed a commit that referenced this pull request Apr 12, 2024
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: #1156
freebsd-git pushed a commit that referenced this pull request May 21, 2024
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: #1156

(cherry picked from commit 0478a03)
freebsd-git pushed a commit that referenced this pull request May 21, 2024
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: #1156

(cherry picked from commit 0478a03)
(cherry picked from commit 7aba922)
Approved-by: re (cperciva)
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Aug 7, 2024
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: freebsd/freebsd-src#1156
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Aug 8, 2024
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: freebsd/freebsd-src#1156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants