teamd: lacp: use original hwaddr as source address in lacpdus
The team lacp runner sets the mac addresses of all member interfaces
to be the same value. However, LACPDUs should carry an interface's
original (individual) MAC address.
The Addressing section (5.2.10 in 802.1ax) explains this:
Protocol entities sourcing frames from within the Link Aggregation
sublayer (e.g., LACP and the Marker protocol) use the MAC address
of the MAC within an underlying port as the source address in
frames transmitted through that port. The MAC Client sees only
the Aggregator and not the underlying MACs, and therefore uses
the Aggregator's MAC address as the source address in transmitted
frames.
Signed-off-by: Eric Kinzie <ehkinzie@gmail.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
3 files changed