commit | b11be131b73fd47e12b1a9f1c52ac0a1ed222aee | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Aug 16 20:39:52 2016 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Aug 16 20:39:52 2016 +0200 |
tree | 54f66073eba3ce1bd4e9d20d3e4fbc1fe1bc7248 | |
parent | 110c6bb413ff7363e9b453edef8ae11cf7b64404 [diff] |
ifplugd: if SIOCSIFFLAGS fails with ENODEV, don't die Some user managed to hit a race where iface is gone between SIOCGIFFLAGS and SIOCSIFFLAGS (!). If SIOCSIFFLAGS fails, treat it the same as failed SIOCGIFFLAGS Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>