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

Automated cherry pick of #4992: Use LOCAL instead of CONTROLLER as the in_port of packet-out #4986: Fix policy not being cleaned if a policy with the same name #5002

Conversation

tnqn
Copy link
Member

@tnqn tnqn commented May 18, 2023

Cherry pick of #4992 #4986 on release-1.11.

#4992: Use LOCAL instead of CONTROLLER as the in_port of packet-out
#4986: Fix policy not being cleaned if a policy with the same name

For details on the cherry pick process, see the cherry pick requests page.

tnqn added 2 commits May 18, 2023 18:50
CONTROLLER cannot be used as the in_port due to a bug in Windows ovsext
driver, otherwise the Windows OS would crash.

See openvswitch/ovs-issues#280.

Signed-off-by: Quan Tian <qtian@vmware.com>
We need to check if the UID matches when checking if a policy exists,
because it's possible another policy is created with the same name after
the policy is deleted. Otherwise the deleted policy would still be
enforced.

Signed-off-by: Quan Tian <qtian@vmware.com>
@tnqn tnqn added the kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release label May 18, 2023
@tnqn
Copy link
Member Author

tnqn commented May 19, 2023

/skip-all

@tnqn tnqn merged commit c6b47be into antrea-io:release-1.11 May 19, 2023
@tnqn tnqn deleted the automated-cherry-pick-of-#4992-#4986-upstream-release-1.11 branch May 19, 2023 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants