bonding: steer IGMP queries to the active bond balance-slb primary port
Summary
Add chains and rules to steer the IGMP reports to the primary member port. This rules are adapted from the script provided by Eric Garver.
https://gitlab.com/egarver/virtual-networking/-/blob/master/mlag.sh
Purpose
Steer IGMP reports to the primary port member by setting the needed nft rules.
Fixes: https://issues.redhat.com/browse/RHEL-59559
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable -
the NEWS file is updated when the change deserves to be mentioned, for example for new features, behavior changes, API deprecations, etc.
Edited by Fernando Fernández Mancera