]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: bonding: Share lacpdu_mcast_addr definition
authorBenjamin Poirier <bpoirier@nvidia.com>
Wed, 7 Sep 2022 07:56:39 +0000 (16:56 +0900)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 23 Nov 2022 14:11:43 +0000 (15:11 +0100)
commit35a741afde78513eb391a9ce80326920c6a0e68e
treed0030760411b6391b8c747b8147b96b9508938ae
parent5e9693d63b1bc711c70a5ec7c38bb8e4becbb0d7
net: bonding: Share lacpdu_mcast_addr definition

BugLink: https://bugs.launchpad.net/bugs/1995420
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
include/net/bond_3ad.h
include/net/bonding.h