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

Add Sequence number to OpError type #218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oskirby
Copy link

@oskirby oskirby commented Nov 4, 2024

I am trying to write an asynchronous wrapper around a netlink.Conn so that a single connection can be shared amongst many goroutines and it's been working pretty good so far, except when it comes to handling errors. The problem arises because the OpError type doesn't include anything that can be used to match up with the request that generated the error. It would be handy if we could include the Sequence field from the netlink header in the OpError to facilitate such a match.

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.

1 participant