[ovs-dev] [PATCH branch-2.10] dpif-netlink: avoid netlink modify flow put op failed after tc modify flow put op failed.

Simon Horman simon.horman at netronome.com
Wed Mar 25 17:42:09 UTC 2020

On Sat, Mar 21, 2020 at 02:55:18PM +0800, wenxu at ucloud.cn wrote:
> From: wenxu <wenxu at ucloud.cn>
> The tc modify flow put always delete the original flow first and
> then add the new flow. If the modfiy flow put operation failed,
> the flow put operation will change from modify to create if success
> to delete the original flow in tc (which will be always failed with
> ENOENT, the flow is already be deleted before add the new flow in tc).
> Finally, the modify flow put will failed to add in kernel datapath.
> Signed-off-by: wenxu <wenxu at ucloud.cn>

Thanks, applied to branch-2.10.

More information about the dev mailing list