aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2016-02-24 09:15:58 -0700
committerJens Axboe <[email protected]>2016-03-03 14:42:50 -0700
commite9fc63d682dbbef17921aeb00d03fd52d6735ffd (patch)
tree33d5f3ece18a1724ad42b79a7c4970859efca5e8 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent63088ec7c8eadfe08b96127a41b385ec9742dace (diff)
NVMe: Fix 0-length integrity payload
A user could send a passthrough IO command with a metadata pointer to a namespace without metadata. With metadata length of 0, kmalloc returns ZERO_SIZE_PTR. Since that is not NULL, the driver would have set this as the bio's integrity payload, which causes an access fault on completion. This patch ignores the users metadata buffer if the namespace format does not support separate metadata. Reported-by: Stephen Bates <[email protected]> Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions