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

socket: remove fanout support when using older linux kernels #217

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

Conversation

Matthiasfranck
Copy link

In 0662de6 the fanout_args struct is used, which is only availble on linux kernels >= 5.11 (https://github.com/torvalds/linux/commit> This commit adds a check and does not compile the fanout pieces when on kernels < 5.11.

In jow-@0662de6 the fanout_args struct is used, which is only availble on linux kernels >= 5.11 (https://github.com/torvalds/linux/commit>
This commit adds a check and does not compile the fanout pieces when on kernels < 5.11.

Signed-off-by: Matthias FRANCK <[email protected]>
@jow-
Copy link
Owner

jow- commented Aug 14, 2024

I was wondering if we should maybe simply copy the relevant kernel headers into the tree, like we did for others already:
https://github.com/jow-/ucode/tree/master/include/linux

This way the build becomes kernel version agnostic. What do you think?

@Matthiasfranck
Copy link
Author

Hi, that would be possible as well. However we might experience some runtime errors, isn't that a problem?

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