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

Do not delete conntrack reply direction keys #622

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

guvenc
Copy link
Collaborator

@guvenc guvenc commented Nov 4, 2024

Do not delete conntrack reply direction key to satisfy the assumption that conntrack entries have two references.
Instead drop the reply direction of the neighbour NAT and LB forward packets early in conntrack node as these packets are
not supposed to be received,
Fix attempt for #621

@github-actions github-actions bot added size/S bug Something isn't working labels Nov 4, 2024
src/nodes/dnat_node.c Outdated Show resolved Hide resolved
Do not delete conntrack reply direction keys to satisfy the assumption
that conntrack entries have two references.

Signed-off-by: Guvenc Gulce <[email protected]>
@github-actions github-actions bot added size/M and removed size/S labels Nov 5, 2024
@guvenc guvenc force-pushed the fix/snat_crash branch 2 times, most recently from f14bc09 to d2f5b2c Compare November 6, 2024 14:25
@github-actions github-actions bot added size/S and removed size/M labels Nov 6, 2024
@guvenc guvenc marked this pull request as ready for review November 6, 2024 14:26
@guvenc guvenc requested a review from a team as a code owner November 6, 2024 14:26
Copy link
Contributor

@byteocean byteocean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot for the patch.

@guvenc guvenc merged commit e5d2fa8 into main Nov 7, 2024
11 checks passed
@guvenc guvenc deleted the fix/snat_crash branch November 7, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants