Skip to content

netspeed: avoid glibtop warnings for non-existent network devices#689

Open
vkareh wants to merge 1 commit intomasterfrom
netspeed-missing-device-warnings
Open

netspeed: avoid glibtop warnings for non-existent network devices#689
vkareh wants to merge 1 commit intomasterfrom
netspeed-missing-device-warnings

Conversation

@vkareh
Copy link
Member

@vkareh vkareh commented Mar 11, 2026

When a network interface is disabled at the kernel level, the applet tries to read from a device that no longer exist, generating continuous warning messages in syslog.

Check if the device exists before calling glibtop_get_netload in both is_dummy_device and get_device_info. When the device doesn't exist, get_device_info returns a non-running device info, allowing the existing auto-change logic to find an active device.

Fixes #688

When a network interface is disabled at the kernel level, the applet
tries to read from a device that no longer exist, generating continuous
warning messages in syslog.

Check if the device exists before calling glibtop_get_netload in both
is_dummy_device and get_device_info. When the device doesn't exist,
get_device_info returns a non-running device info, allowing the existing
auto-change logic to find an active device.

Fixes #688
@vkareh vkareh force-pushed the netspeed-missing-device-warnings branch from 5cd424c to 2be3597 Compare March 17, 2026 15:40
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.

Mate-netspeed-applet, the disaster continues...

1 participant