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

link: Add function to unset carrier request #2

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

cappe987
Copy link

When fetching from the kernel this flag seems to be set and when making a change request this persists. Since it's only internal variables we need a function to unset it from the outside.

ndo_carrier_change in the kernel should only be implemented by non-hardware interfaces. For hardware interfaces (e.g. physical ports) it will be EOPNOTSUPP. Allow unsetting it to not get an error.

When fetching from the kernel this flag seems to be set and when
making a change request this persists. Since it's only internal
variables we need a function to unset it from the outside.

ndo_carrier_change in the kernel should only be implemented by
non-hardware interfaces. For hardware interfaces (e.g. physical ports)
it will be EOPNOTSUPP. Allow unsetting it to not get an error.

Signed-off-by: Casper Andersson <[email protected]>
@cappe987 cappe987 requested a review from voldymyr May 23, 2024 13:07
@cappe987 cappe987 self-assigned this May 23, 2024
@cappe987 cappe987 merged commit 410c4ce into wmo/v3.7.0 May 28, 2024
0 of 4 checks passed
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.

2 participants