aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-08-10 00:28:01 +0200
committerDavid Bauer <mail@david-bauer.net>2021-08-10 13:13:01 +0200
commit29a3967e61334d0c6a1a7d391f0e751272d77b1d (patch)
tree1c24665066f822c118046535b10c5e0d7c5dca78 /include
parent5ecd99f7d2f3456a9178e030bbed68e687b904ce (diff)
downloadupstream-29a3967e61334d0c6a1a7d391f0e751272d77b1d.tar.gz
upstream-29a3967e61334d0c6a1a7d391f0e751272d77b1d.tar.bz2
upstream-29a3967e61334d0c6a1a7d391f0e751272d77b1d.zip
generic: fix kernel panic on existing mac-address node
Calling free for the OF property can result in a kernel panic, as the buffer in question might be referenced elsewhere. Also, it is not removed from the tree. Always allocate a new property and updating the tree with it fixes both issues. Fixes commit 91a52f22a13d ("treewide: backport support for nvmem on non platform devices") Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions