]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: do not drop requests on carrier lost
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Jun 2021 06:54:48 +0000 (15:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Jun 2021 19:59:23 +0000 (04:59 +0900)
On carrier lost, then all requests which require carrier will not be
processed. And they will be processed when the interface gained its
carrier again. So, it is not necessary to drop requests here.

src/network/networkd-link.c

index 71feb057eb6e69219fd0efed370340eadceab2f8..d970cd7a1557aff4f3fb24117442217dd57a2934 100644 (file)
@@ -1522,8 +1522,6 @@ static int link_carrier_lost(Link *link) {
                 return r;
         }
 
-        link_drop_requests(link);
-
         r = link_drop_config(link);
         if (r < 0)
                 return r;