[ovs-git] [openvswitch/ovs] 7a076a: netdev-linux: Update LAG in all cases.
Aaron Conole
noreply at github.com
Sat May 16 11:19:10 UTC 2020
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 7a076a53716394742d0ae44652451501ae17335d
https://github.com/openvswitch/ovs/commit/7a076a53716394742d0ae44652451501ae17335d
Author: Aaron Conole <aconole at redhat.com>
Date: 2020-05-16 (Sat, 16 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>
Commit: 8508a57228560e154963c542823d36d8098e6610
https://github.com/openvswitch/ovs/commit/8508a57228560e154963c542823d36d8098e6610
Author: Aaron Conole <aconole at redhat.com>
Date: 2020-05-16 (Sat, 16 May 2020)
Changed paths:
M lib/netdev-offload-tc.c
Log Message:
-----------
netdev-offload-tc: Re-fetch block ID after probing.
It's possible that block_id could changes after the probe for block
support. Therefore, fetch the block_id again after the probe.
Fixes: edc2055a2bf7 ("netdev-offload-tc: Flush rules on ingress block when init tc flow api")
Cc: Dmytro Linkin <dmitrolin at mellanox.com>
Acked-by: Roi Dayan <roid at mellanox.com>
Co-authored-by: Marcelo Leitner <mleitner at redhat.com>
Signed-off-by: Marcelo Leitner <mleitner at redhat.com>
Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Compare: https://github.com/openvswitch/ovs/compare/fe175ac17352...8508a5722856
More information about the git
mailing list