Skip to contentSkip to conversation

ethtool uselessly tries to retrieve setting from a nonexistent device

DISCUSSION David Guyot 1 participant 1 message Jul 17, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello, there.

I noticed a behavior of ethtool 4.8, as used in Debian Stretch, which could be improved: when I query a nonexistent device, ethtool tries to retrieve all its settings, even if the first test returns "No such device". In that case, ethtool should immediatly stop, only saying no such device, and not calling functions which results are already known.

Hoping my remark is not too naive,

Regards.

Signature · 5 lines
David Guyot
Administrateur système / Sysadmin
Europe Camions Interactive / Stockway
Moulin Collot F-88500 Ambacourt
Tél : +33 (0)3 29 30 47 85