]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: leave netdev mac alone after fw-upgrade
authorShannon Nelson <snelson@pensando.io>
Mon, 11 May 2020 21:04:44 +0000 (14:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2020 19:12:34 +0000 (12:12 -0700)
commitd6fb58f46608a32cc211918281add5195cdc2ec4
treeb0f78cd5cb6b44a02e95ec6b1a4e9ba5c4df538d
parentd2b2fd70eb40265be8b64131959ed2156c20c23c
ionic: leave netdev mac alone after fw-upgrade

When running in a bond setup, or some other potential
configurations, the netdev mac may have been changed from
the default device mac.  Since the userland doesn't know
about the changes going on under the covers in a fw-upgrade
it doesn't know the re-push the mac filter.  The driver
needs to leave the netdev mac filter alone when rebuilding
after the fw-upgrade.

Fixes: ede80d26b82e ("ionic: remove lifs on fw reset")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c