net/mlx4_en: dereferencing freed memory
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 Jul 2012 20:34:07 +0000 (20:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 05:58:07 +0000 (22:58 -0700)
commit9c64508af2c171f57a198729c59a7a6f6998b3a1
treeecd55407d2b2d16798a4b717eec0f76842319c08
parent447458c01f4c765ab37ac7b380e60d977daae4c5
net/mlx4_en: dereferencing freed memory

We dereferenced "mclist" after the kfree().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c