diff options
| author | 2018-03-14 15:04:51 -0500 | |
|---|---|---|
| committer | 2018-03-19 19:46:51 +0100 | |
| commit | 6a9bbe53db9a5aa0be9788aa8a2c250dee55444b (patch) | |
| tree | 20024210f9204505e18f14a0f4c8b4fc315178a3 /scripts | |
| parent | staging: pi433: fix CamelCase for dagc enum (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 <ruxandra.radulescu@nxp.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
