aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw.c
diff options
context:
space:
mode:
authorGovindarajulu Varadarajan <_govind@gmx.com>2015-01-02 20:53:27 +0530
committerDavid S. Miller <davem@davemloft.net>2015-01-02 16:43:45 -0500
commit9dac6232e2ee2bc85dc71f464f19f047afc9422c (patch)
treef458ef03df6f48f83a3231f024b46fc8522f4c2a /drivers/net/ethernet/ti/cpsw.c
parentqmi_wwan: Set random MAC on devices with buggy fw (diff)
downloadlinux-dev-9dac6232e2ee2bc85dc71f464f19f047afc9422c.tar.xz
linux-dev-9dac6232e2ee2bc85dc71f464f19f047afc9422c.zip
enic: free all rq buffs when allocation fails
When allocation of all RQs fail, we do not free previously allocated buffers, before returning error. This causes memory leak. This patch fixes this by calling vnic_rq_clean(), which frees all the rq buffers. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions