On Wed, Apr 26, 2017 at 8:55 AM, Jarod Wilson <ja...@redhat.com> wrote: > > We already have struct sockaddr_storage that could be used throughout this > set as well. We just converted a few pieces of the bonding driver over to > using it for better support of ipoib bonds, via commit > faeeb317a5615076dff1ff44b51e862e6064dbd0. Might be better to just use that > in both bonding and team, rather than having different per-driver structs, > or Yet Another Address Storage implementation.
Technically, struct sockaddr_storage is not enough either, given the max is MAX_ADDR_LEN. This is why I gave up on sockaddr_storage.