Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
teamd: add port_master_ifindex_changed for link_watch_port_watch_ops
This is a follow up of Commit b6f63db ("teamd: add port_master_ifindex_changed for teamd_event_watch_ops") to fix the same issue in it. The issue is a race between option change event and ifinfo (master_ifindex) change event, so wherever a option change function tries to iterate tdport by teamd_for_each_tdport, the same thing should be done in its master_ifindex change function, including link_watch_port_watch_ops. The fix has been verified in one customer's env where it appeared no arp requests coming out on the only state-up tdport prior to this patch. Reported-by: Michal Tesar <mtesar@redhat.com> Fixes: b6f63db ("teamd: add port_master_ifindex_changed for teamd_event_watch_ops") Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com>
- Loading branch information