Skip to contentSkip to conversation

TIPC handling of ethernet mac address change

DISCUSSION Chris Friesen 2 participants 2 messages Aug 22, 2012 – Aug 23, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I'm pretty new to tipc so pardon me if I use the wrong terminology. :)

I'm using TIPC 1.7.7 and bonding. I'm seeing some strange behaviour when the bond MAC address changes--the tipc LINK_CONFIG messages still contain the old MAC address embedded in them. This causes the other end to send back to us on the wrong MAC and the packets get dropped.

I see recv_notification() has a case for NETDEV_CHANGEADDR so it looks like MAC address change was intended to be handled, but I'm not entirely clear on where the MAC address is supposed to be changed.

Any assistance on debugging/patching this would be appreciated.

Chris

Signature · 6 lines
Chris Friesen
Software Designer

3500 Carling Avenue
Ottawa, Ontario K2H 8E9
www.genband.com
#1 lore raw

Hi Chris,

You are right.

Currently TIPC does not handle the change of mac address. So I will submit a related patch to fix the issue to net-next tree.

Thanks for your report.

Regards,
Ying

Quoted 13 lines · Chris Friesen

Hi,

I'm pretty new to tipc so pardon me if I use the wrong terminology. :)

I'm using TIPC 1.7.7 and bonding. I'm seeing some strange behaviour when the bond MAC address changes--the tipc LINK_CONFIG messages still contain the old MAC address embedded in them. This causes the other end to send back to us on the wrong MAC and the packets get dropped.

I see recv_notification() has a case for NETDEV_CHANGEADDR so it looks like MAC address change was intended to be handled, but I'm not entirely clear on where the MAC address is supposed to be changed.

Any assistance on debugging/patching this would be appreciated.

Chris