diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-05-18 06:20:00 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-05-18 06:20:01 +0200 |
commit | 87e469be0c08db92b0fb0f4817cc177c158cdf42 (patch) | |
tree | 09e167bea078cf64d13217570290f003ea7d5ff0 /vlandev.c | |
parent | 2a97fd006c3b09c1aeab30ac881c9ac902365d57 (diff) | |
download | netifd-87e469be0c08db92b0fb0f4817cc177c158cdf42.tar.gz |
wireless: fix memory corruption bug when using vlans/station entries in the config
On config reload, any vif entries in the config added to the vlist will be
matched against existing ones, and the old entries preserved.
This means that the vif pointer is no longer valid after vlist_add.
Look up the vif again before using it for vlan/station entries.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'vlandev.c')
0 files changed, 0 insertions, 0 deletions