]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4: decreasing ref count when removing mac
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Thu, 4 Aug 2011 01:05:12 +0000 (01:05 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:20:53 +0000 (09:20 +0800)
commit772561ac3f61d4034080a7ecb6b8574985b063e5
tree0bcafada5f725ca3d14b373321eba260d65e8788
parent3ef89f954752264e402a08f255faf9b90776c92d
mlx4: decreasing ref count when removing mac

For older FW versions, when a Mac address removed from Mac table,
we should set 0 for reference count for the corresponding Mac index.
Fixes a bug where removing Mac from the table still left that entry as
invalid.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Tested-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 20e72a44098641f0c4de34a31287a93e006afb5b)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/mlx4/port.c