]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Fix a race in xs_tcp_state_change()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Nov 2007 15:18:36 +0000 (10:18 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:24 +0000 (02:05 -0500)
commit66af1e558538137080615e7ad6d1f2f80862de01
treef5f9680b86846d4df8312cd9bd729d6e10c7b5e8
parentef818a28fac9bd214e676986d8301db0582b92a9
SUNRPC: Fix a race in xs_tcp_state_change()

When scheduling the autoclose RPC call, we want to ensure that we don't
race against the test_bit() call in xprt_clear_locked().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c