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

pkg/maps/encrypt: allocate BPF map in MapCreate only if EnableIPSec is set #10189

Merged
merged 1 commit into from Feb 19, 2020

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Feb 14, 2020

Allocate encryptMap in MapCreate which is only called if EnableIPSec is
true (default is false) to avoid unnecessarily allocating memory for the
map.

Updates #10056

Signed-off-by: Tobias Klauser tklauser@distanz.ch


This change is Reviewable

…s set

Allocate encryptMap in MapCreate which is only called if EnableIPSec is
true (default is false) to avoid unnecessarily allocating memory for the
map.

Updates #10056

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser tklauser added pending-review kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. labels Feb 14, 2020
@tklauser tklauser requested a review from a team February 14, 2020 14:49
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Feb 14, 2020
@tklauser
Copy link
Member Author

test-me-please

@brb brb requested a review from jrfastab February 14, 2020 14:56
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 44.494% when pulling 3b1ce0c on pr/tklauser/encryptmap-no-default-allocate into 1810709 on master.

@aanm aanm added this to the 1.8 milestone Feb 18, 2020
@aanm aanm merged commit 11525c1 into master Feb 19, 2020
1.8.0 automation moved this from In progress to Merged Feb 19, 2020
@aanm aanm deleted the pr/tklauser/encryptmap-no-default-allocate branch February 19, 2020 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

4 participants