[ovs-git] [openvswitch/ovs] 7ff4ce: netdev-linux: Update LAG in all cases.

Aaron Conole noreply at github.com
Sat May 16 11:20:37 UTC 2020


  Branch: refs/heads/branch-2.12
  Home:   https://github.com/openvswitch/ovs
  Commit: 7ff4ce8cc76a07d705c3d246d75f8e6e01d83836
      https://github.com/openvswitch/ovs/commit/7ff4ce8cc76a07d705c3d246d75f8e6e01d83836
  Author: Aaron Conole <aconole at redhat.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  -----------
  netdev-linux: Update LAG in all cases.

In some cases, when processing a netlink change event, it's possible for
an alternate part of OvS (like the IPv6 endpoint processing) to hold an
active netdev interface.  This creates a race-condition, where sometimes
the OvS change processing will take the normal path.  This doesn't work
because the netdev device object won't actually be enslaved to the
ovs-system (for instance, a linux bond) and ingress qdisc entries will
be missing.

To address this, we update the LAG information in ALL cases where
LAG information could come in.

Fixes: d22f8927c3c9 ("netdev-linux: monitor and offload LAG slaves to TC")
Cc: Marcelo Leitner <mleitner at redhat.com>
Cc: John Hurley <john.hurley at netronome.com>
Acked-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list