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

unable to use socket.inet in non-sleepable contexts #215

Open
sav opened this issue Dec 28, 2024 · 0 comments
Open

unable to use socket.inet in non-sleepable contexts #215

sav opened this issue Dec 28, 2024 · 0 comments

Comments

@sav
Copy link
Collaborator

sav commented Dec 28, 2024

some functions in socket.inet could come in handy while scripting filters (i.e., in softirq), but currently, we are unable to load them, as the following error occurs:

cannot use 'socket' class on non-sleepable runtime

could we have a workaround allowing some of these functions to be used from softirq? for instance, I wanted to use socket.inet.ntoa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant