Re: [net PATCH] netlabel: fix problems with mapping removal

2020-08-24 Thread David Miller
From: Paul Moore Date: Fri, 21 Aug 2020 16:34:52 -0400 > 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 e

[net PATCH] netlabel: fix problems with mapping removal

2020-08-21 Thread Paul Moore
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