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

Fix bug in FOU netlink parser #827

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martin31821
Copy link

Netlink API states that the TLV tuples should be padded to 4 bytes, which was implemented incorrectly in the FOU case.
On recent kernels, ListFou fails because the kernel returns more attributes than the parser expects.

@aboch
Copy link
Collaborator

aboch commented Jul 14, 2023

@martin31821 pls squash your commits into one

@aboch
Copy link
Collaborator

aboch commented Jul 3, 2024

@martin31821 please squash your commits into one

@aboch
Copy link
Collaborator

aboch commented Aug 23, 2024

@martin31821

This fixes a bug that netlink messages for FOU are not correctly deserialized

Fix unused var

shift

Fix incorrect test case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants