diff options
author | Tom Tucker <tom@opengridcomputing.com> | 2009-01-05 16:21:19 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-07 17:08:46 -0500 |
commit | 22945e4a1c7454c97f5d8aee1ef526c83fef3223 (patch) | |
tree | f082143420da55b97c98a1534336b0cf03412e0b /net/sunrpc/xprtsock.c | |
parent | 9a8d248e2d2e9c880ac4561f27fea5dc200655bd (diff) |
svc: Clean up deferred requests on transport destruction
A race between svc_revisit and svc_delete_xprt can result in
deferred requests holding references on a transport that can never be
recovered because dead transports are not enqueued for subsequent
processing.
Check for XPT_DEAD in revisit to clean up completing deferrals on a dead
transport and sweep a transport's deferred queue to do the same for queued
but unprocessed deferrals.
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions