summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2015-12-03 14:34:18 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 14:00:17 -0800
commite607a2213a962d2ff7ca77f6a30e72096f0b9341 (patch)
tree6c0d53abdbac2d58610da872f48e6a661590c8fa /tools/perf/scripts/python
parent6a5464f2248594bcf92bd05beb341650f9e0f357 (diff)
downloadlinux-e607a2213a962d2ff7ca77f6a30e72096f0b9341.tar.gz
linux-e607a2213a962d2ff7ca77f6a30e72096f0b9341.zip
staging/rdma/hfi1: fix pio progress routine race with allocator
The allocation code assumes that the shadow ring cannot be overrun because the credits will limit the allocation. Unfortuately, the progress mechanism in sc_release_update() updates the free count prior to processing the shadow ring, allowing the shadow ring to be overrun by an allocation. Reviewed-by: Mark Debbage <mark.debbage@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions