diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-11-30 21:15:25 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-12-06 20:28:35 +0300 |
commit | 36357fe74ef736524a29fbd3952948768510a8b9 (patch) | |
tree | 8a2b006820c36886ce6e36d584099ef151540471 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 50fa355bc0d75911fe9d5072a5ba52cdb803aff7 (diff) | |
download | linux-36357fe74ef736524a29fbd3952948768510a8b9.tar.xz |
NFSv4.2: Set the correct size scratch buffer for decoding READ_PLUS
The scratch_buf array is 16 bytes, but I was passing 32 to the
xdr_set_scratch_buffer() function. Fix this by using sizeof(), which is
what I probably should have been doing this whole time.
Fixes: d3b00a802c84 ("NFS: Replace the READ_PLUS decoding code")
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions