diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:13:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:13:20 -0400 |
commit | bc3041f055c228ec8347580d95cb2b344b503dcb (patch) | |
tree | 58cac3a7082fab3a1a92f1abbf3858e9d1c161a4 /drivers/net/wireless/hostap/hostap_proc.c | |
parent | 9b3a0a6f8ca7bdced15647a1ed5e07d86d58062c (diff) | |
download | blackbird-op-linux-bc3041f055c228ec8347580d95cb2b344b503dcb.tar.gz blackbird-op-linux-bc3041f055c228ec8347580d95cb2b344b503dcb.zip |
wireless: single_open() leaks
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_proc.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/hostap/hostap_proc.c b/drivers/net/wireless/hostap/hostap_proc.c index 7491dab2c105..aa7ad3a7a69b 100644 --- a/drivers/net/wireless/hostap/hostap_proc.c +++ b/drivers/net/wireless/hostap/hostap_proc.c @@ -52,7 +52,7 @@ static const struct file_operations prism2_debug_proc_fops = { .open = prism2_debug_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; #endif /* PRISM2_NO_PROCFS_DEBUG */ @@ -103,7 +103,7 @@ static const struct file_operations prism2_stats_proc_fops = { .open = prism2_stats_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; @@ -265,7 +265,7 @@ static const struct file_operations prism2_crypt_proc_fops = { .open = prism2_crypt_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; |