summaryrefslogtreecommitdiffstats
path: root/fs/nfs/iostat.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-11-12 23:24:36 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-11-13 00:56:57 +0100
commitd07ba8422f1e58be94cc98a1f475946dc1b89f1b (patch)
treee83c021ca30a8625b7a4af139c2d7bf16bbfa348 /fs/nfs/iostat.h
parentSUNRPC: Fix a data corruption issue when retransmitting RPC calls (diff)
downloadlinux-d07ba8422f1e58be94cc98a1f475946dc1b89f1b.tar.xz
linux-d07ba8422f1e58be94cc98a1f475946dc1b89f1b.zip
SUNRPC: Avoid deep recursion in rpc_release_client
In cases where an rpc client has a parent hierarchy, then rpc_free_client may end up calling rpc_release_client() on the parent, thus recursing back into rpc_free_client. If the hierarchy is deep enough, then we can get into situations where the stack simply overflows. The fix is to have rpc_release_client() loop so that it can take care of the parent rpc client hierarchy without needing to recurse. Reported-by: Jeff Layton <jlayton@redhat.com> Reported-by: Weston Andros Adamson <dros@netapp.com> Reported-by: Bruce Fields <bfields@fieldses.org> Link: http://lkml.kernel.org/r/2C73011F-0939-434C-9E4D-13A1EB1403D7@netapp.com Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/iostat.h')
0 files changed, 0 insertions, 0 deletions