summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_ethtool.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2011-06-16 12:31:58 +0000
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-17 00:19:09 -0400
commit118133e6580a0c912cda86109b6468b5ffe73f1c (patch)
tree437d85afc373577934e168b9a6dc104fec7b155e /drivers/net/netxen/netxen_nic_ethtool.c
parente3cb78c772de593afa720687ce3abbed8d93b0c3 (diff)
downloadblackbird-op-linux-118133e6580a0c912cda86109b6468b5ffe73f1c.tar.gz
blackbird-op-linux-118133e6580a0c912cda86109b6468b5ffe73f1c.zip
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 'drivers/net/netxen/netxen_nic_ethtool.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud