diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-11-23 12:42:36 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-11-23 12:48:53 +0100 |
commit | 3abe1fc87151fae570fc1232053c73d1a5505664 (patch) | |
tree | 386eaa0a331e01a289b0cba79b01a052ceeb9406 /vlandev.c | |
parent | 213748a9bcd9683778250e3673b70acdcc8d96a2 (diff) | |
download | netifd-3abe1fc87151fae570fc1232053c73d1a5505664.tar.gz |
system-linux: add retry for adding member devices to a bridge
When netifd tries to add bridge members brought up by hostapd asynchronously
(e.g. after an autochannel run), the first try often fails with EBUSY or
EAGAIN, since it's racing against hostapd's own setup.
Add retry logic, which includes checking if the device was added to the
bridge in the meantime to deal with this issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'vlandev.c')
0 files changed, 0 insertions, 0 deletions