Hi Simon,
How about this patch? BR wenxu From: Simon Horman <[email protected]> Date: 2020-11-26 18:44:25 To: [email protected] Cc: [email protected] Subject: Re: [PATCH] lib/tc: fix parse act pedit for tos rewrite>On Tue, Nov 24, 2020 at 11:01:09AM +0800, [email protected] wrote: >> From: wenxu <[email protected]> >> >> Check overlap between current pedit key, which is always 4 bytes >> (range [off, off + 3]), and a map entry in flower_pedit_map >> sf = ROUND_DOWN(mf, 4) (range [sf|mf, (mf + sz - 1)|ef]). >> >> So for the tos the rewite the off + 3(3) is greater than mf, >> and should less than ef(4) but not mf+sz(2). >> >> Signed-off-by: wenxu <[email protected]> > >Thanks Wenxu, > >this looks good to me. And applies cleanly back to branch-2.13 (LTS). > >I will try running it through Travis-CI, as a matter of course. > >https://travis-ci.org/github/horms2/ovs/builds/746053729 >https://travis-ci.org/github/horms2/ovs/builds/746053793 >https://travis-ci.org/github/horms2/ovs/builds/746053864 > >However, Travis-CI.org is very slow these days so I may have to to abandon >that idea. > >https://mail.openvswitch.org/pipermail/ovs-dev/2020-November/377773.html >https://mail.openvswitch.org/pipermail/ovs-dev/2020-November/377877.html _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
