Messages in this thread |  | | Subject | Re: [PATCH v2] x86/resctrl: Fix potential memory leak | | From | Reinette Chatre <> | | Date | Fri, 20 Dec 2019 09:35:45 -0800 |
| |
Hi Shakeel,
On 12/20/2019 8:43 AM, Shakeel Butt wrote: > The set_cache_qos_cfg() is leaking memory when the given level is not > RDT_RESOURCE_L3 or RDT_RESOURCE_L2. However at the moment, this function > is called with only valid levels but to make it more robust and future > proof, we should be handling the error path gracefully. > > Fixes: 99adde9b370de ("x86/intel_rdt: Enable L2 CDP in MSR IA32_L2_QOS_CFG") > Signed-off-by: Shakeel Butt <shakeelb@google.com> > Acked-by: Fenghua Yu <fenghua.yu@intel.com> > --- > Changes since v1: > - Updated the commit message
Thank you.
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Reinette
|  |