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
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