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

2020-03-25 Thread Simon Horman
On Sat, Mar 21, 2020 at 02:55:18PM +0800, we...@ucloud.cn wrote: > From: wenxu > > 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

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

2020-03-21 Thread wenxu
From: wenxu 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