Files
android_kernel_samsung_sm8750/drivers/net/ethernet/broadcom/bnx2x
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
..
2012-04-23 22:34:03 -04:00
2012-07-23 00:58:21 -07:00
2012-06-07 13:18:54 -07:00
2012-07-23 00:58:21 -07:00