net/mlx4_en: Initialize RFS filters lock and list in init_netdev
authorAmir Vadai <amirv@mellanox.com>
Thu, 24 Jan 2013 01:54:19 +0000 (01:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2013 05:14:28 +0000 (00:14 -0500)
commit78fb2de711ec28997bf38bcf3e48e108e907be77
tree85c8bb674392d99000bbf2e04014d2f021054324
parent7225922558f04f25a22683ce08454dae8dd4b9f4
net/mlx4_en: Initialize RFS filters lock and list in init_netdev

filters_lock might have been used while it was re-initialized.
Moved filters_lock and filters_list initialization to init_netdev instead of
alloc_resources which is called every time the device is configured.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c