aboutsummaryrefslogtreecommitdiff
path: root/lib/test_sysctl.c
diff options
context:
space:
mode:
authorGravatar Paul Moore <paul@paul-moore.com> 2020-04-20 10:09:29 -0400
committerGravatar Paul Moore <paul@paul-moore.com> 2020-04-20 19:33:56 -0400
commita48b284b403a4a073d8beb72d2bb33e54df67fb6 (patch)
treead259792c2a7bfaf9b9e4dbd987d8384adf6d9b0 /lib/test_sysctl.c
parentLinux 5.7-rc1 (diff)
downloadlinux-a48b284b403a4a073d8beb72d2bb33e54df67fb6.tar.gz
linux-a48b284b403a4a073d8beb72d2bb33e54df67fb6.tar.bz2
linux-a48b284b403a4a073d8beb72d2bb33e54df67fb6.zip
audit: fix a net reference leak in audit_send_reply()
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>
Diffstat (limited to 'lib/test_sysctl.c')
0 files changed, 0 insertions, 0 deletions