David Bauer
29a3967e61
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>
2021-08-10 13:13:01 +02:00
..
2021-07-31 19:13:00 +02:00
2021-06-06 19:17:47 +02:00
2021-04-21 10:31:10 +01:00
2021-04-21 10:31:10 +01:00
2021-06-13 23:30:10 +02:00
2021-07-17 13:21:03 +02:00
2021-08-08 19:50:45 +02:00
2021-07-31 19:13:00 +02:00
2021-03-12 21:09:11 +01:00
2021-08-08 17:57:34 +02:00
2021-07-17 13:27:03 +02:00
2021-08-05 01:46:26 +02:00
2021-08-05 01:46:26 +02:00
2021-08-08 19:50:45 +02:00
2021-08-10 13:13:01 +02:00
2021-05-26 14:12:46 +02:00
2021-08-05 01:46:26 +02:00
2021-07-19 14:51:22 +02:00
2021-04-21 10:31:07 +01:00
2021-06-06 19:17:47 +02:00
2021-08-08 17:57:34 +02:00
2021-08-09 01:16:48 +02:00
2021-04-21 10:31:10 +01:00
2021-08-05 23:53:07 +01:00
2021-07-19 14:51:22 +02:00
2021-08-08 20:42:01 +02:00
2021-04-21 10:31:10 +01:00
2021-08-05 01:46:26 +02:00
2021-07-31 19:13:00 +02:00
2021-08-09 01:17:06 +02:00
2021-04-21 10:31:07 +01:00
2021-04-21 10:31:10 +01:00
2021-08-05 22:55:39 +02:00
2021-08-05 15:22:26 +01:00
2021-07-20 18:38:23 +01:00
2021-06-06 00:26:13 +02:00
2021-06-13 23:30:10 +02:00
2021-04-21 10:31:10 +01:00
2021-07-20 04:11:05 +01:00
2021-06-13 23:30:10 +02:00
2021-02-10 15:47:18 +01:00