commit | e09f15090d035fcfaa52da80e24374c4f983e495 | [log] [tgz] |
---|---|---|
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | Sat Jun 09 19:19:18 2018 +0200 |
committer | Daniel Wagner <wagi@monom.org> | Mon Jun 11 08:14:03 2018 +0200 |
tree | 3f07a7e82368d1baf73c5ffc069af51ae2112eb7 | |
parent | df8bb5b3536efc78188bbf8d2142db2401650990 [diff] |
rtnl: Bail out if interface name is blacklisted read_uevent() checks if the interface name is blacklisted, but then continues to open the corresponding uevent file, and happily sets SERIVCE_TYPE and DEVICE_TYPE (nullifying the blacklisting) this leads to the following logging when starting connmand -I wlan0 Ignoring interface wlan0 (filtered) Adding interface wlan0 [ wifi ] fix this by bailing out from read_uevent() as soon as we find the device is blacklisted