Files
twx-linux/kernel
Paul Moore 6d2f2b4218 audit: fix a net reference leak in audit_send_reply()
[ Upstream commit a48b284b40 ]

If audit_send_reply() fails when trying to create a new thread to
send the reply it also fails to cleanup properly, leaking a reference
to a net structure.  This patch fixes the error path and makes a
handful of other cleanups that came up while fixing the code.

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
…
…
…
…
…
…
…
2020-04-17 10:48:47 +02:00
…
…
…
…
…
2020-01-09 10:18:59 +01:00
…
…
…
…
…
2020-05-14 07:57:21 +02:00
…
…
…