aboutsummaryrefslogtreecommitdiff
path: root/block/badblocks.c
diff options
context:
space:
mode:
authorChuck Lever2018-05-01 11:37:19 -0400
committerAnna Schumaker2018-05-01 13:46:14 -0400
commit98eb6cf25f0317395d9a799d18f3d46ba26a00d3 (patch)
tree232cce47c5de5b34db1c5e6866ee1c2581bbfb9a /block/badblocks.c
parent054f155721d7af1f343ed52bea246626d8450ca8 (diff)
sunrpc: Fix latency trace point crashes
If the rpc_task survived longer than the transport, task->tk_xprt points to freed memory by the time rpc_count_iostats_metrics runs. Replace the references to task->tk_xprt with references to the task's tk_client. Reported-by: syzbot+27db1f90e2b972a5f2d3@syzkaller.appspotmail.com Fixes: 40bf7eb304b5 ('sunrpc: Add static trace point to report ...') Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'block/badblocks.c')
0 files changed, 0 insertions, 0 deletions