diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2011-06-16 12:31:58 (GMT) |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-17 04:19:09 (GMT) |
commit | 118133e6580a0c912cda86109b6468b5ffe73f1c (patch) | |
tree | 437d85afc373577934e168b9a6dc104fec7b155e /net/ipv6 | |
parent | e3cb78c772de593afa720687ce3abbed8d93b0c3 (diff) | |
download | linux-fsl-qoriq-118133e6580a0c912cda86109b6468b5ffe73f1c.tar.xz |
netdev: bfin_mac: fix memory leak when freeing dma descriptors
The size of the desc array is not the size of the desc structure, so
when we try to free up things, we leak some parts.
Reported-by: Regis Dargent <rdargent@edevice.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions