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 #6251: Fix that local traffic cannot be identified in #6270

Conversation

hongliangl
Copy link
Contributor

Cherry pick of #6251 on release-1.13.

#6251: Fix that local traffic cannot be identified in

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

…antrea-io#6251)

Before this commit, in AntreaProxy, to respect short-circuiting, when
installing flows for an external Services, an extra flow with higher priority
to match traffic sourced from local (local Pods or local Node) and destined
for the external Service will be installed. This is achieved by matching
the local Pod CIDR obtained from the local Node object. However, when
Antrea is deployed in networkPolicyOnly mode, the Pod CIDR in the local Node
object is nil, resulting in the failure of install the extra flow mentioned
above. To fix the issue, a new reg mark `FromLocalRegMark` identifying traffic
from local Pods or the local Node is introduced to mark the traffic from
local. This reg mark can be used in all traffic mode.

Fix antrea-io#6244

Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
@hongliangl hongliangl 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 Apr 28, 2024
@luolanzone
Copy link
Contributor

We no longer maintain v1.13, no need to cherry-pick this to v1.13. cc @tnqn

@hongliangl
Copy link
Contributor Author

Close it

@hongliangl hongliangl closed this Apr 29, 2024
@hongliangl hongliangl deleted the automated-cherry-pick-of-#6251-upstream-release-1.13 branch April 29, 2024 01:45
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