summaryrefslogtreecommitdiff
path: root/drivers/net/ne2000.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-10-12 20:36:25 +0200
committerStefano Babic <sbabic@denx.de>2013-11-21 16:32:29 +0100
commit79e5f27b09023410916e71c281259aa097982514 (patch)
tree61b71886d13617d0b4b384a8304a86a3de920305 /drivers/net/ne2000.c
parenta31d3efae108f9ec97f2be22e17d8eaf1e2f48e8 (diff)
downloadu-boot-imx-79e5f27b09023410916e71c281259aa097982514.zip
u-boot-imx-79e5f27b09023410916e71c281259aa097982514.tar.gz
u-boot-imx-79e5f27b09023410916e71c281259aa097982514.tar.bz2
Net: FEC: Fix huge memory leak
The fec_halt() never free'd both RX and TX DMA descriptors that were allocated in fec_init(), nor did it free the RX buffers. Rework the FEC driver so that these descriptors and buffers are allocated only once in fec_probe(). Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/net/ne2000.c')
0 files changed, 0 insertions, 0 deletions