Bug 15458
Summary: | [cppcheck] found a possible null pointer dereference in sunrpc (linux-2.6/net/sunrpc/xprt.c) | ||
---|---|---|---|
Product: | File System | Reporter: | Martin Ettl (ettl.martin) |
Component: | NFS | Assignee: | Trond Myklebust (trondmy) |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Attachments: | patch that removes the redundant nullpointer checking |
Description
Martin Ettl
2010-03-06 12:58:57 UTC
We should just remove that check. If something is trying to lock the socket without first having got a slot, then we have bigger issues, and I'd prefer to see the Oops. Created attachment 25389 [details]
patch that removes the redundant nullpointer checking
Here is a patch that removes the checking of a nullpointer at line 207
Can you please mail the patch to the NFS list (linux-nfs@vger.kernel.org) and Cc myself (Trond.Myklebust@netapp.com). Please don't forget to include a signed-off-by line as per the SubmittingPatches document. Thanks! |