-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
criu: use unique table names for nftables based locking
During network locking CRIU creates an nftables table to add needed rules. If more than one instance of CRIU run in parallel, those tables' names would conflict. Solution is to append root task pid to the nftables table name as a postfix (e.g. inet CRIU-3231). We also need to use `create table` instead of `add table` because using `create` returns an error in case table name already exists so we could detect conflicts if they happen. Signed-off-by: Zeyad Yasser <[email protected]>
- Loading branch information
1 parent
ca3e3c5
commit 9838d34
Showing
4 changed files
with
77 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters