summaryrefslogtreecommitdiff
path: root/scripts/kallsyms.c
diff options
context:
space:
mode:
authorEli Billauer <eli.billauer@gmail.com>2022-11-17 09:18:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-23 19:44:04 +0100
commitc002f04c0bc79ec00d4beb75fb631d5bf37419bd (patch)
tree3ca57977121e09f82a4124ee4ddabed96dd2e008 /scripts/kallsyms.c
parent0ef77698b85603d21453daf32ae70f76ae62ccae (diff)
char: xillybus: Fix trivial bug with mutex
@unit_mutex protects @unit from being freed, so obviously it should be released after @unit is used, and not before. This is a follow-up to commit 282a4b71816b ("char: xillybus: Prevent use-after-free due to race condition") which ensures, among others, the protection of @private_data after @unit_mutex has been released. Reported-by: Hyunwoo Kim <imv4bel@gmail.com> Signed-off-by: Eli Billauer <eli.billauer@gmail.com> Link: https://lore.kernel.org/r/20221117071825.3942-1-eli.billauer@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/kallsyms.c')
0 files changed, 0 insertions, 0 deletions