diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-01-19 22:45:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:48:01 -0800 |
commit | daab6e7df44ba7d4281379c6ac5780e10d133286 (patch) | |
tree | 56bc1ddb126e05f153a631a2c0d8817b235cc71b /net/sunrpc/clnt.c | |
parent | 14ff66ce27e91666bf55e415104fdec9f9b18668 (diff) | |
download | linux-3.10-daab6e7df44ba7d4281379c6ac5780e10d133286.tar.gz linux-3.10-daab6e7df44ba7d4281379c6ac5780e10d133286.tar.bz2 linux-3.10-daab6e7df44ba7d4281379c6ac5780e10d133286.zip |
nfs4: fix discover_server_trunking use after free
commit abad2fa5ba67725a3f9c376c8cfe76fbe94a3041 upstream.
If clp is new (cl_count = 1) and it matches another client in
nfs4_discover_server_trunking, the nfs_put_client will free clp before
->cl_preserve_clid is set.
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions