diff options
| author | James Morse <[email protected]> | 2021-09-17 16:59:24 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2021-10-06 16:45:27 +0000 |
| commit | d4ebfca26dfab2803c31d68a30225be31b2f9ecf (patch) | |
| tree | dad78126d785de3752998164f09543443df3aba8 /lib/timerqueue.c | |
| parent | x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails (diff) | |
| download | kernel-d4ebfca26dfab2803c31d68a30225be31b2f9ecf.tar.gz kernel-d4ebfca26dfab2803c31d68a30225be31b2f9ecf.zip | |
x86/resctrl: Fix kfree() of the wrong type in domain_add_cpu()
Commit in Fixes separated the architecture specific and filesystem parts
of the resctrl domain structures.
This left the error paths in domain_add_cpu() kfree()ing the memory with
the wrong type.
This will cause a problem if someone adds a new member to struct
rdt_hw_domain meaning d_resctrl is no longer the first member.
Fixes: 792e0f6f789b ("x86/resctrl: Split struct rdt_domain")
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Reinette Chatre <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
