wdev_update_disabled_vifs() indexed the disabled_vifs map with the wdev object instead of the vif name. The map is read back via disabled_vifs[vif.name], so disabled vifs were never matched, and coercing the wdev object into a string key triggered an infinite escaping loop in ucv_to_string_json_encoded() during state output, causing OOM on reboot. Suggested-by: Shayne Chen (陳軒丞) <Shayne.Chen@mediatek.com> Reported-by: Michael-cy Lee (李峻宇) <Michael-cy.Lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> |
||
|---|---|---|
| .. | ||
| firewall | ||
| firewall4 | ||
| gre | ||
| ipip | ||
| ltq-adsl-app | ||
| ltq-vdsl-vr9-app | ||
| ltq-vdsl-vr11-app | ||
| netifd | ||
| qos-scripts | ||
| qosify | ||
| soloscli | ||
| swconfig | ||
| vti | ||
| vxlan | ||
| wifi-scripts | ||
| xfrm | ||