On Fri, Aug 21, 2020 at 2:38 PM David Miller wrote:
> From: Paul Moore
> Date: Thu, 20 Aug 2020 21:46:14 -0400
>
> > This patch fixes two main problems seen when removing NetLabel
> > mappings: memory leaks and potentially extra audit noise.
>
> These are bug fixes therefore this needs to target
From: Paul Moore
Date: Thu, 20 Aug 2020 21:46:14 -0400
> This patch fixes two main problems seen when removing NetLabel
> mappings: memory leaks and potentially extra audit noise.
These are bug fixes therefore this needs to target the 'net' tree
and you must also provide appropriate "Fixes:" tag
This patch fixes two main problems seen when removing NetLabel
mappings: memory leaks and potentially extra audit noise.
The memory leaks are caused by not properly free'ing the mapping's
address selector struct when free'ing the entire entry as well as
not properly cleaning up a temporary mapping