net: bonding: Share lacpdu_mcast_addr definition
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> (cherry picked from commit 1d9a143e) Signed-off-by:
Jonathan Toppins <jtoppins@redhat.com> Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2150389
Showing
- drivers/net/bonding/bond_3ad.c 3 additions, 2 deletionsdrivers/net/bonding/bond_3ad.c
- drivers/net/bonding/bond_main.c 4 additions, 12 deletionsdrivers/net/bonding/bond_main.c
- include/net/bond_3ad.h 0 additions, 2 deletionsinclude/net/bond_3ad.h
- include/net/bonding.h 3 additions, 0 deletionsinclude/net/bonding.h
Loading
Please register or sign in to comment