diff options
author | Andrew Morton <[email protected]> | 2022-10-20 21:19:22 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-10-28 13:37:22 -0700 |
commit | 64b4c411a6c7a5f27555bfc2d6310b87bde3db67 (patch) | |
tree | 878e60cfde45dea3ee6379d66b5a55c934947e24 /lib/mpi/mpi-sub-ui.c | |
parent | 27d676a1c2010450d00d514a8a6c1c780cb8d77f (diff) |
ipc/msg.c: fix percpu_counter use after free
These percpu counters are referenced in free_ipcs->freeque, so destroy
them later.
Fixes: 72d1e611082e ("ipc/msg: mitigate the lock contention with percpu counter")
Reported-by: [email protected]
Tested-by: Mark Rutland <[email protected]>
Cc: Jiebin Sun <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions