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

make: allow setting the default network locking backend #2583

Draft
wants to merge 4 commits into
base: criu-dev
Choose a base branch
from

Conversation

adrianreber
Copy link
Member

No description provided.

As different Linux distributions are switching away from iptables
to nftables, this makes it easier to compile CRIU with a different
default network locking backend. Instead of changing the source
code it is now possible to select the nft backend like this:

    make NETWORK_LOCK_DEFAULT=NETWORK_LOCK_NFTABLES

Signed-off-by: Adrian Reber <[email protected]>
The building section also contains the information how to change the
network locking backend without source code changes.

Signed-off-by: Adrian Reber <[email protected]>
This uses the same formatting for the make command examples as seen in
README.md.

Signed-off-by: Adrian Reber <[email protected]>
@adrianreber adrianreber force-pushed the 2025-02-04-nftables-make branch 7 times, most recently from e78d284 to 3b74eb1 Compare February 4, 2025 18:40
@adrianreber adrianreber force-pushed the 2025-02-04-nftables-make branch from 3b74eb1 to c359297 Compare February 4, 2025 18:50
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