Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3dc0da27
Commit
3dc0da27
authored
Jan 08, 2013
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SUNRPC: Fix an RCU dereference in xs_local_rpcbind
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
1b092092
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
net/sunrpc/xprtsock.c
net/sunrpc/xprtsock.c
+3
-1
No files found.
net/sunrpc/xprtsock.c
View file @
3dc0da27
...
...
@@ -1731,7 +1731,9 @@ static int xs_bind(struct sock_xprt *transport, struct socket *sock)
*/
static
void
xs_local_rpcbind
(
struct
rpc_task
*
task
)
{
xprt_set_bound
(
task
->
tk_xprt
);
rcu_read_lock
();
xprt_set_bound
(
rcu_dereference
(
task
->
tk_client
->
cl_xprt
));
rcu_read_unlock
();
}
static
void
xs_local_set_port
(
struct
rpc_xprt
*
xprt
,
unsigned
short
port
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment