diff options
author | David Bauer <mail@david-bauer.net> | 2021-08-10 00:28:01 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-08-10 13:13:01 +0200 |
commit | 29a3967e61334d0c6a1a7d391f0e751272d77b1d (patch) | |
tree | 1c24665066f822c118046535b10c5e0d7c5dca78 /target/linux/generic/pending-5.10/763-net-bridge-switchdev-Include-local-flag-in-FDB-notif.patch | |
parent | 5ecd99f7d2f3456a9178e030bbed68e687b904ce (diff) | |
download | upstream-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 'target/linux/generic/pending-5.10/763-net-bridge-switchdev-Include-local-flag-in-FDB-notif.patch')
0 files changed, 0 insertions, 0 deletions