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

[inet] Append correct attribute type for RTA_DST. Fixes JB#60963 #56

Merged
merged 1 commit into from Feb 22, 2024

Conversation

LaakkonenJussi
Copy link
Contributor

Apply upstream fix to set correct attribute type for RTA_DST.

[inet] Append correct attribute type for RTA_DST. Fixes JB#60963

RTA_DST expects either struct in_addr or struct in6_addr and not
struct ai_addr.

The kernel complained with:

  netlink: 'connmand': attribute type 1 has an invalid length.

Fixes: fad4070 ("inet: Add function to return route to a given host")
@LaakkonenJussi LaakkonenJussi merged commit c452cba into sailfishos:master Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants