Skip to content

Add functions deep copy and replace NFTables structure. #11986

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

Merged
merged 1 commit into from
Aug 8, 2025

Conversation

copybara-service[bot]
Copy link

Add functions deep copy and replace NFTables structure.

This change adds a DeepCopy method to copy all the elements of an
NFTables struct and a method to replace the data of a NFTables struct.
Needed for atomic, rollback-able changes when processing batch messages.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Jul 31, 2025
@copybara-service copybara-service bot force-pushed the test/cl789489198 branch 3 times, most recently from fa60fc7 to bb8165b Compare August 8, 2025 20:10
This change adds a DeepCopy method to copy all the elements of an
NFTables struct and a method to replace the data of a NFTables struct.
Needed for atomic, rollback-able changes when processing batch messages.

PiperOrigin-RevId: 792738351
@copybara-service copybara-service bot merged commit bf8e013 into master Aug 8, 2025
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl789489198 branch August 8, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant