flow: Pass last field to miniflow_pad_to_64().
authorSimon Horman <simon.horman@netronome.com>
Tue, 1 Dec 2015 06:03:16 +0000 (15:03 +0900)
committerBen Pfaff <blp@ovn.org>
Wed, 23 Dec 2015 06:36:05 +0000 (22:36 -0800)
commit06f41fc4846f29ad46ab4e730a21dc9f2f5315d1
treef40aff318d3493504927b5766b23046127f8b239
parent8b792aef0df46b591638ee4cda396b8e5f07bfd6
flow: Pass last field to miniflow_pad_to_64().

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@netronome.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/flow.c
lib/util.h