]> git.baikalelectronics.ru Git - kernel.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)
commit9385220bc2044ee5e77279cfbe44f09aa9136813
treef5f9680b86846d4df8312cd9bd729d6e10c7b5e8
parent1fd2d199fc4699a59cd79b376a5fb337fec45ad5
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