diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-11-13 12:44:56 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-11-13 12:44:58 +0100 |
commit | 4a41135750d97e06d1f6d808a9d24bb4b472aca4 (patch) | |
tree | 87bb39b251ae50a22d3892a31b2920b1b7d00a29 /vlandev.c | |
parent | ed11f0c0ffe4fdacfe3f8223049ef8a61d9c53e9 (diff) | |
download | netifd-4a41135750d97e06d1f6d808a9d24bb4b472aca4.tar.gz |
system-linux: only overwrite dev->present state on check_state for simple devices
After settting config_pending for vlan devices, a check_state call from
device_init_pending was leading to the vlan device present state being
overwritten because the linux device didn't exist yet, even though the
vlan code had already indicated its present state based on the lower dev.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'vlandev.c')
0 files changed, 0 insertions, 0 deletions