fw4: skip not existing netdev names in flowtable device list master
authorJo-Philipp Wich <jo@mein.io>
Mon, 3 Jun 2024 14:49:40 +0000 (16:49 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 3 Jun 2024 14:49:40 +0000 (16:49 +0200)
commitdfbcc1cd127c78fc61bb870d36d2512b571d223b
tree29921e1d8b41a42f3322d148e143da06c090da11
parente00958884416f59b273595f941d198de63acc1dd
fw4: skip not existing netdev names in flowtable device list

In case interface configurations are present which refer to not existing
network devices, such device names might end up in the flowtable list,
leading to `No such file or directory` errors when attempting to load
the resulting ruleset.

Solve this issue by testing for each netdev name whether it refers to
an existing device.

Fixes: e009588 ("fw4: do not add physical devices for soft offload")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc