Skip to content

Fix socket events for 4.18x kernels#223

Merged
haesbaert merged 2 commits intomainfrom
fix-skproto
Apr 2, 2025
Merged

Fix socket events for 4.18x kernels#223
haesbaert merged 2 commits intomainfrom
fix-skproto

Conversation

@haesbaert
Copy link
Contributor

Related to elastic/quark#135

sk_protocol was a 32bit bitfield in 4.18x, then they moved it to a 16bit word. This fixes it so that it works on both cases, in the old case, the field is considered to be 32bit, in the new 16bit.

Related to elastic/quark#135

sk_protocol was a 32bit bitfield in 4.18x, then they moved it to a 16bit word.
This fixes it so that it works on both cases, in the old case, the field is
considered to be 32bit, in the new 16bit.
@haesbaert haesbaert requested a review from a team as a code owner March 27, 2025 08:35
@haesbaert
Copy link
Contributor Author

Reproduce it in quark with

make initramfs.gz && ./krun.sh initramfs.gz kernel-images/amd64/linux-4.18.0-553.16.1.el8_10.x86_64  quark-test -b t_sock_conn

@haesbaert haesbaert merged commit 8126a19 into main Apr 2, 2025
26 checks passed
@haesbaert haesbaert deleted the fix-skproto branch April 2, 2025 11:11
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.

3 participants