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

capture and return errors in ConntrackDeleteFilters #1014

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

aroradaman
Copy link
Contributor

@aroradaman aroradaman commented Sep 5, 2024

ConntrackDeleteFilters does not capture and return errors for the actual netlink call to delete the flow entry.
This PR captures the error and returns it.

@aroradaman aroradaman changed the title collect and returns errors in ConntrackDeleteFilters capture and returns errors in ConntrackDeleteFilters Sep 5, 2024
@aroradaman aroradaman force-pushed the conntrack-delete-return-error branch 2 times, most recently from 0bbe568 to f486354 Compare September 5, 2024 16:09
@aroradaman aroradaman changed the title capture and returns errors in ConntrackDeleteFilters capture and return errors in ConntrackDeleteFilters Sep 5, 2024
@aroradaman aroradaman force-pushed the conntrack-delete-return-error branch 2 times, most recently from 8bbb26a to ce9042d Compare September 5, 2024 16:56
conntrack_linux.go Outdated Show resolved Hide resolved
Signed-off-by: Daman Arora <aroradaman@gmail.com>
@aboch
Copy link
Collaborator

aboch commented Sep 5, 2024

LGTM

@aboch aboch merged commit b1ce50c into vishvananda:main Sep 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants