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

malformed netlink messages #12

Open
MalteJ opened this issue Jun 4, 2022 · 2 comments
Open

malformed netlink messages #12

MalteJ opened this issue Jun 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@MalteJ
Copy link
Contributor

MalteJ commented Jun 4, 2022

We get netlink error messages when putting ip6tnl encap routes into the kernel route table:

image

Still, it works somehow.

@MalteJ MalteJ added the bug Something isn't working label Jun 4, 2022
@gehoern
Copy link

gehoern commented Jun 7, 2022

image

have the same here

directly after the restart you see on the picture everything worked as expected

@byteocean
Copy link
Contributor

This issue regarding leftover bytes has something to do with the netlink msg content when requesting the linux kernel to insert ip6tnl routing rules. It might be caused by excessive long Attr fields in netlink msg or due to alignment, which are uncertain yet (the initial conclusion is derived from the comparison between netlink messages from our netlink patch and iproute2). For now, two fields, tc and options, which are currently not needed are removed from netlink messages to avoid such warning/error in kernel.

This branch, https://github.com/byteocean/netlink/tree/ip6tnl-pr, has been updated to reflect the above changes. Hence, for metalbond, in go.mod, if netlink is pointed to the latest change of netlink patch as following, this system message shall be gone.
replace github.com/vishvananda/netlink v1.1.0 => github.com/byteocean/netlink v1.1.1-0.20220608143109-d6cf8228de69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants