Re: [ovs-dev] [PATCH 2/4] flow: Simplify flow_compose_l4().

2018-01-24 Thread Yifeng Sun
Thanks for the refactor that makes code much cleaner. Reviewed-by: Yifeng Sun On Thu, Jan 18, 2018 at 2:45 PM, Ben Pfaff wrote: > Each of the cases in flow_compose_l4() separately tracked the number of > bytes of L4 data added to the packet. This commit makes the function do > that in a sing

[ovs-dev] [PATCH 2/4] flow: Simplify flow_compose_l4().

2018-01-18 Thread Ben Pfaff
Each of the cases in flow_compose_l4() separately tracked the number of bytes of L4 data added to the packet. This commit makes the function do that in a single place without per-protocol bookkeeping. Signed-off-by: Ben Pfaff --- lib/flow.c | 40 ++-- 1 file