ofp-util: Allow out-of-range indexes in ofputil_decode_geneve_table_reply().
authorBen Pfaff <blp@nicira.com>
Sun, 12 Jul 2015 18:58:22 +0000 (11:58 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 20 Jul 2015 04:55:47 +0000 (21:55 -0700)
commitdfe5044ceff33c72b228f79bba163121fe7bdd53
tree84de07e696b6967313e3764963f87497316f13a9
parent361d808dd9e4e27fb04c76d3da0cd7a2e9447622
ofp-util: Allow out-of-range indexes in ofputil_decode_geneve_table_reply().

Otherwise, if some future version of OVS supports more Geneve options than
the current version, and any of these extras are in use, then one would be
unable to dump them with "ovs-ofctl dump-geneve-map", and any other
OVS-based software that wants to dump the Geneve map to work with the
existing options (i.e. ovn-controller) would fail entirely, instead of
being able to work with at least a subset.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
lib/ofp-util.c