aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLong Li <[email protected]>2019-05-15 14:09:05 -0700
committerSteve French <[email protected]>2019-05-15 22:27:53 -0500
commit2c87d6a94d162e68ca393cb87719dae8737f55c0 (patch)
treecd3f5b7d487cfcb182434229a8a0a12af740a03d /tools/perf/scripts/python/stackcollapse.py
parent3b249115719ba2cb56d3f92ee7492e033059d3f3 (diff)
cifs: Allocate memory for all iovs in smb2_ioctl
An IOCTL uses up to 2 iovs. The 1st iov is the command itself, the 2nd iov is optional data for that command. The 1st iov is always allocated on the heap but the 2nd iov may point to a variable on the stack. This will trigger an error when passing the 2nd iov for RDMA I/O. Fix this by allocating a buffer for the 2nd iov. Signed-off-by: Long Li <[email protected]> Signed-off-by: Steve French <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]> Reviewed-by: Ronnie sahlberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions