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 306392 Details for
Bug 254195
use after free in nlm subsystem
[?]
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 3 -- don't requeue block if it was invalidated while GRANT_MSG was in flight
04-bz-254195-nlm-don-t-requeue-bl.patch (text/plain), 1.15 KB, created by
Jeff Layton
on 2008-05-22 15:30:05 UTC
(
hide
)
Description:
patch 3 -- don't requeue block if it was invalidated while GRANT_MSG was in flight
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2008-05-22 15:30:05 UTC
Size:
1.15 KB
patch
obsolete
>BZ#254195: NLM: don't requeue block if it was invalidated while GRANT_MSG was in flight > >From: Jeff Layton <jlayton@redhat.com> > >It's possible for lockd to catch a SIGKILL while a GRANT_MSG callback >is in flight. If this happens we don't want the callback to insert the >block back into the nlm_blocked list. > >Signed-off-by: Jeff Layton <jlayton@redhat.com> >Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> >--- > > fs/lockd/svclock.c | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > >diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c >index bf9fd13..f272f2c 100644 >--- a/fs/lockd/svclock.c >+++ b/fs/lockd/svclock.c >@@ -799,6 +799,15 @@ static void nlmsvc_grant_callback(struct rpc_task *task, void *data) > > dprintk("lockd: GRANT_MSG RPC callback\n"); > >+ /* if the block is not queued at this point then it has >+ * been invalidated. Don't try to requeue it. >+ * >+ * The BKL makes sure that lockd doesn't dequeue the block >+ * after we check this. >+ */ >+ if (!block->b_queued) >+ return; >+ > /* Technically, we should down the file semaphore here. Since we > * move the block towards the head of the queue only, no harm > * can be done, though. */
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 254195
:
277081
|
278361
|
280141
|
280151
|
280161
|
306390
|
306391
| 306392