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

clear() does not detach ioctl handlers #194

Open
benzea opened this issue Jul 14, 2022 · 0 comments
Open

clear() does not detach ioctl handlers #194

benzea opened this issue Jul 14, 2022 · 0 comments

Comments

@benzea
Copy link
Collaborator

benzea commented Jul 14, 2022

OK, not sure about this one, so opening a bug.

Should clear implicitly detach all ioctl handlers, or should people still need to detach them explicitly?

Note that there is an internal hash table, to allow detaching. And this hash table might get autodated with clear() as the device is not removed there. But then, what happens if the socket/device is removed from the disk in some other way?

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

No branches or pull requests

1 participant