netifd: Keep reference to a config copy in device type specific reload handler as...
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 12 Feb 2015 16:41:16 +0000 (17:41 +0100)
committerSteven Barth <steven@midlink.org>
Tue, 17 Feb 2015 14:12:03 +0000 (15:12 +0100)
commit2af71375f7a03d78dc9e3e4155e59e51f17a8327
treedac6a1524d5784722448f11d29a1fb6c851c4cd2
parent5a0909caaff498d61b5cf17162fd0c5c5b381b8b
netifd: Keep reference to a config copy in device type specific reload handler as the original config pointer might go stale

Fixes random observed crashes in blobmsg_parse when device type specific
config data is parsed.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
bridge.c
macvlan.c
vlandev.c