SUNRPC: Fix memory barriers for req->rq_received
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:51 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:51 +0000 (13:44 -0500)
commit43ac3f2961b8616da26114ec6dc76ac2a61f76ad
tree461fc961f6c7d9a724425654523cf61cb6c2e485
parentc42de9dd67250fe984e0e31c9b542d721af6454b
SUNRPC: Fix memory barriers for req->rq_received

We need to ensure that all writes to the XDR buffers are done before
req->rq_received is visible to other processors.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
net/sunrpc/xprt.c