diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2006-10-20 02:28:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 13:26:39 -0400 |
commit | 71bdcf8056f910dc57ea3d0def80a9329e7dc52d (patch) | |
tree | 293bf48584d44b5e27cb5050d4e4ccb5254388a2 /net/sunrpc/xprtsock.c | |
parent | b87c0adfeaaf8d8310c4f790d76072a5961b3518 (diff) |
[PATCH] SUNRPC: fix race in in-kernel RPC portmapper client
When submitting a request to a fast portmapper (such as the local rpcbind
daemon), the request can complete before the parent task is even queued up on
xprt->binding. Fix this by queuing before submitting the rpcbind request.
Test plan:
Connectathon locking test with UDP.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions