diff options
| author | Olga Kornievskaia <[email protected]> | 2017-03-13 14:36:19 +0000 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2017-03-17 20:06:27 +0000 |
| commit | 63513232f8cd219dcaa5eafae028740ed3067d83 (patch) | |
| tree | fda9dadd14db7d82029fd036a8a97d223aea3755 /fs/nfs/filelayout/filelayoutdev.c | |
| parent | nfs: make nfs4_cb_sv_ops static (diff) | |
| download | kernel-63513232f8cd219dcaa5eafae028740ed3067d83.tar.gz kernel-63513232f8cd219dcaa5eafae028740ed3067d83.zip | |
NFS prevent double free in async nfs4_exchange_id
Since rpc_task is async, the release function should be called which
will free the impl_id, scope, and owner.
Trond pointed at 2 more problems:
-- use of client pointer after free in the nfs4_exchangeid_release() function
-- cl_count mismatch if rpc_run_task() isn't run
Fixes: 8d89bd70bc9 ("NFS setup async exchange_id")
Signed-off-by: Olga Kornievskaia <[email protected]>
Cc: [email protected] # 4.9
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions
