diff options
| author | Ioana Radulescu <ruxandra.radulescu@nxp.com> | 2018-03-14 23:04:51 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-19 21:46:51 +0300 |
| commit | 6a9bbe53db9a5aa0be9788aa8a2c250dee55444b (patch) | |
| tree | 20024210f9204505e18f14a0f4c8b4fc315178a3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | bcb4f0d75bde920a3e86eeea743c6002863455fb (diff) | |
| download | linux-6a9bbe53db9a5aa0be9788aa8a2c250dee55444b.tar.xz | |
staging: fsl-dpaa2/eth: Fix incorrect kfree
Use netdev_alloc_frag() instead of kmalloc to allocate space for
the S/G table of egress multi-buffer frames.
This fixes a bug where an unaligned pointer received from the
allocator would be overwritten with the 64B aligned value,
leading to a wrong address being later passed to kfree.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
