Mon, Jul 01, 2019 at 09:39:54AM CEST, lucien.xin(a)gmail.com wrote:
This is a follow up of Commit b6f63db7f3c8 ("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(a)redhat.com>
Fixes: b6f63db7f3c8 ("teamd: add port_master_ifindex_changed for
teamd_event_watch_ops")
Signed-off-by: Xin Long <lucien.xin(a)gmail.com>
applied, thanks!