Files
twx-linux/kernel
Paul Moore 4fe5dcafc7 audit: fix a net reference leak in audit_list_rules_send()
[ Upstream commit 3054d06719 ]

If audit_list_rules_send() fails when trying to create a new thread
to send the rules it also fails to cleanup properly, leaking a
reference to a net structure.  This patch fixes the error patch and
renames audit_send_list() to audit_send_list_thread() to better
match its cousin, audit_send_reply_thread().

Reported-by: teroincn@gmail.com
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-22 09:05:13 +02:00
..
…
2019-12-13 08:51:11 +01:00
2019-12-01 09:17:17 +01:00
…
…
…
…
…
2020-03-25 08:06:14 +01:00
…
…
…
…
…
…
2020-03-25 08:06:13 +01:00
…
…
2019-01-13 09:51:06 +01:00
…
…
…
…
2020-04-17 10:48:47 +02:00
…
…
…
…
2020-01-09 10:18:59 +01:00
…
…
…
…
…
2020-05-14 07:57:21 +02:00
…
…
…