[ovs-dev] [PATCH] flow: pass last field to miniflow_pad_to_64

Ben Pfaff blp at ovn.org
Wed Dec 23 06:39:48 UTC 2015


On Tue, Dec 01, 2015 at 03:03:16PM +0900, Simon Horman wrote:
> Make miniflow_pad_to_64() a little more robust with regards to updates to
> struct flow by passing the last field, whose end should be considered for
> padding, rather than the next field, whose start should be considered.
> 
> Signed-off-by: Simon Horman <simon.horman at netronome.com>

I asked Jarno to review this, but then he asked me right back.

I've now read it and I like it very much.  It makes it harder to write
the wrong code, and I'm all in favor of that.

I applied this to master.  Thank you!



More information about the dev mailing list