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

KVM pings network gateway constantly #300

Open
apalrd opened this issue Feb 6, 2025 · 4 comments
Open

KVM pings network gateway constantly #300

apalrd opened this issue Feb 6, 2025 · 4 comments

Comments

@apalrd
Copy link

apalrd commented Feb 6, 2025

It's unusual for a device to send a ping every 2sec continuously.

It's coming from chack_net_state() (

int chack_net_state(ip_addr_t use_ip_type)
)

This is a terrible way to know if the network is 'up', and doesn't consider link-local networks which may not have a gateway, or IPv6.

@alexisfrjp
Copy link

alexisfrjp commented Feb 17, 2025

It's also terrible to spot a bad practice without giving at least one solution. It's the best way to get ignored.

@apalrd
Copy link
Author

apalrd commented Feb 17, 2025

the kernel already provides network state, it's stupid to implement this again in an app

@FlorianHeigl
Copy link

@alexisfrjp blameshifting, noone stops anyone who would like to fix this or design a product to first buy a few books on embedded development. we're here supporting it but if someone reports an issue for free for a product that is also developed for free the bargain is kept.

@gshpychka
Copy link

Was this solved by #307?

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

4 participants