]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: get rid of "Could not set flow control of" message on "lo" interface
authorLennart Poettering <lennart@poettering.net>
Tue, 12 May 2020 21:48:27 +0000 (23:48 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 15 May 2020 15:58:53 +0000 (17:58 +0200)
commitcb1277fa3b1d7a5b6e1b7cce31b91cd2efdad97a
treeb28e581b4557cc4a9658668c525a2e732d12c533
parentc07f18ffd458a224e1784f128df26b340c1c39c8
udev: get rid of "Could not set flow control of" message on "lo" interface

When setting flow control attributes of an interface we first acquire
the current settings and then add in the new settings before applying
them again. This only works on interfaces that implement the ethtool
ioctls. on others we'll see an ugly "Could not set flow control of"
message, simply because we issue the SIOCETHTOOL ioctl once, for getting
the data. In particular we'll get it for the "lo" interface all the
time, which sucks hard. Let's get rid of it.
src/udev/net/link-config.c