diff options
| author | Ioana Radulescu <[email protected]> | 2018-03-14 15:04:51 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-19 19:46:51 +0100 |
| commit | 6a9bbe53db9a5aa0be9788aa8a2c250dee55444b (patch) | |
| tree | 20024210f9204505e18f14a0f4c8b4fc315178a3 /tools/perf/scripts/python/bin | |
| parent | bcb4f0d75bde920a3e86eeea743c6002863455fb (diff) | |
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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions