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

Bugfix: Phy cannot be moved into another namespace #642

Merged
merged 1 commit into from
May 9, 2020

Conversation

TheDJVG
Copy link

@TheDJVG TheDJVG commented May 9, 2020

When CONFIG_NET_NS is enabled one would assume the device can be moved into another namespace. Currently it will fail with:

command failed: Operation not supported (-95)

There's a check if the kernel is between 2.6.38 and 3.0.0 before it adds the netns flag to wiphy->flags.

With this commit it will always add the netns flag when CONFIG_NET_NS is enabled.

Signed-off-by: Daan van Gorkum [email protected]
Fixes: #518

When CONFIG_NET_NS is enabled one would assume the device can be
moved into another namespace. Currently it will fail with:

command failed: Operation not supported (-95)

There's a check if the kernel is between 2.6.38 and 3.0.0
before it adds the netns flag to wiphy->flags.

With this commit it will always add the netns flag when
CONFIG_NET_NS is enabled.

Signed-off-by: Daan van Gorkum <[email protected]>
Fixes: aircrack-ng#518
@kimocoder kimocoder merged commit dff6a65 into aircrack-ng:v5.6.4.2 May 9, 2020
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.

feature request: supporting ip namespace
2 participants