linux/drivers/net/ethernet/broadcom
Jesper Juhl 8b6d5c09bc bnx2x: fix mem leak when command is unknown
In bnx2x_mcast_enqueue_cmd() we'll leak the memory allocated to
'new_cmd' if we hit the deafault case of the 'switch (cmd)'.
Add a 'kfree(new_cmd)' to that case to avoid the leak.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-02 00:19:17 -07:00
..
bnx2x bnx2x: fix mem leak when command is unknown 2012-08-02 00:19:17 -07:00
b44.c b44: add 64 bit stats 2012-07-18 09:29:43 -07:00
b44.h b44: add 64 bit stats 2012-07-18 09:29:43 -07:00
bcm63xx_enet.c bcm63xx-enet: fix PHY name to match MDIO bus name 2012-02-13 16:04:08 -05:00
bcm63xx_enet.h
bnx2_fw.h
bnx2.c bnx2: Try to recover from PCI block reset 2012-07-16 23:12:02 -07:00
bnx2.h bnx2: Read PCI function number from internal register 2012-06-16 22:22:59 -07:00
cnic_defs.h cnic: Fix parity error code conflict 2012-03-21 21:57:36 -04:00
cnic_if.h cnic: Fix mmap regression. 2012-06-29 15:33:28 -07:00
cnic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
cnic.h
Kconfig
Makefile
sb1250-mac.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
tg3.c tg3: Update version to 3.124 2012-07-29 23:18:31 -07:00
tg3.h tg3: Add New 5719 Read DMA workaround 2012-07-29 23:18:31 -07:00