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 locking to NIOCTXSYNC and NIOCRXSYNC ioctl #48

Open
wants to merge 1 commit into
base: 974b68c0-atl
Choose a base branch
from

Conversation

thomasjwinter
Copy link

A crash can occur if rx/txsync is happening at the same time as the rings are being released.

The NIOCTXSYNC and NIOCRXSYNC ioctls should be within locks as the functions they call may access data that will be under contention.

A crash can occur if rx/txsync is happening at the same time as
the rings are being released.

The find_priv_from_na call should be within locks as it can access
data that will be under contention.
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