]> git.itanic.dy.fi Git - linux-stable/commit
net: bonding: Share lacpdu_mcast_addr definition
authorBenjamin Poirier <bpoirier@nvidia.com>
Wed, 7 Sep 2022 07:56:39 +0000 (16:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:11:48 +0000 (11:11 +0200)
commite6b277f7367e4837dfb0059a896b37a825ecba74
tree57217f4b772563109a5988cb8b6b0afb0846a60b
parent8b2ab46b6c63c757a884fe0313531228bf1c38a0
net: bonding: Share lacpdu_mcast_addr definition

[ Upstream commit 1d9a143ee3408349700f44a9197b7ae0e4faae5d ]

There are already a few definitions of arrays containing
MULTICAST_LACPDU_ADDR and the next patch will add one more use. These all
contain the same constant data so define one common instance for all
bonding code.

Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 86247aba599e ("net: bonding: Unsync device addresses on ndo_stop")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
include/net/bond_3ad.h
include/net/bonding.h