Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294822 Details for
Bug 432626
nlm_blocked refcount leak
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch -- remove extra kref_get() from nlmsvc_grant_blocked()
0001-NLM-fix-nlm_block-refcount-leak-in-nlmsvc_grant_blo.patch (text/plain), 912 bytes, created by
Jeff Layton
on 2008-02-13 19:19:41 UTC
(
hide
)
Description:
patch -- remove extra kref_get() from nlmsvc_grant_blocked()
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2008-02-13 19:19:41 UTC
Size:
912 bytes
patch
obsolete
>From 4f8ae34ef912089a09dfa9ac0ce14d1e69944c9d Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Wed, 13 Feb 2008 14:17:38 -0500 >Subject: [PATCH] NLM: fix nlm_block refcount leak in nlmsvc_grant_blocked > >The patch for 196318 added a kref_get() call to the top of >nlmsvc_grant_blocked(), but did not remove the old kref_get() call near >the bottom of the function. This is causing a refcount leak on every >pass through this function. > >This patch should fix it... >--- > fs/lockd/svclock.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c >index aa093bb..60ca5f1 100644 >--- a/fs/lockd/svclock.c >+++ b/fs/lockd/svclock.c >@@ -771,7 +771,6 @@ callback: > nlmsvc_insert_block(block, 30 * HZ); > > /* Call the client */ >- kref_get(&block->b_count); > nlm_async_call(block->b_call, NLMPROC_GRANTED_MSG, &nlmsvc_grant_ops); > } > >-- >1.5.3.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 432626
: 294822