Skip to content

Conversation

@alan-maguire
Copy link
Member

TCP buffer tuner was failing to load on 6.9 and later.

CO-RE relocation for sk_userlocks in struct sock was the cause; the problem is sk_userlocks changes from a bitfield to a plain u8 and the vmlinux.h that was generated had the old representation. We can use a Linux version check to guard check of sk_userlocks.

Reported-by: HippieMitch https://github.com/HippieMitch

TCP buffer tuner was failing to load on 6.9 and later.

CO-RE relocation for sk_userlocks in struct sock was the cause;
the problem is sk_userlocks changes from a bitfield to a plain
u8 and the vmlinux.h that was generated had the old representation.
We can use a Linux version check to guard check of sk_userlocks.

Reported-by: HippieMitch <https://github.com/HippieMitch>
Signed-off-by: Alan Maguire <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 17, 2024
@alan-maguire alan-maguire merged commit 0a74f09 into main May 17, 2024
@alan-maguire alan-maguire deleted the tcp_buffer_fix.6.9 branch December 2, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant