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 ip_vs module loading on RHEL based distros #2436

Merged
merged 4 commits into from
Jul 1, 2024

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

If we have to call keepalived_modprobe() for the ip_vs module, on
some distros (e.g. RHEL based ones but not Fedora) we need to call
ipvs_nl_send_message() twice in ipvs_getinfo(), since the first call
fails.

On most distros keepalived_modprobe() does not need to be called,
since calling genl_ctrl_resolve(sock, IPVS_GENL_NAME) loads the ip_vs
module.

Signed-off-by: Quentin Armitage <[email protected]>
Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit cf0f3e5 into acassen:master Jul 1, 2024
10 checks passed
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.

1 participant