diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2006-10-19 23:28:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 10:26:39 -0700 |
commit | 71bdcf8056f910dc57ea3d0def80a9329e7dc52d (patch) | |
tree | 293bf48584d44b5e27cb5050d4e4ccb5254388a2 /net/sunrpc/xprtsock.c | |
parent | b87c0adfeaaf8d8310c4f790d76072a5961b3518 (diff) | |
download | op-kernel-dev-71bdcf8056f910dc57ea3d0def80a9329e7dc52d.zip op-kernel-dev-71bdcf8056f910dc57ea3d0def80a9329e7dc52d.tar.gz |
[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