[ovs-dev] [PATCH 1/3] Fix table checking for goto table instruction.
Ben Pfaff
blp at nicira.com
Fri Jun 28 17:25:54 UTC 2013
On Fri, Jun 28, 2013 at 07:44:03PM +0300, Jarno Rajahalme wrote:
> Usually the table id in flow mods is 255, which means that goto table
> instruction cannot be checked before the table is picked (for flow add),
> or the rules to be modified are found (flow mod).
>
> Move goto table checking from decode (ofp-util) to actions checking
> (ofp-actions), and postpone the action checking until the table in
> which the actions are added is known.
>
> This fixes OFPBRC_BAD_TABLE_ID errors for flow adds that specify the table
> id as 255, and have a goto table instruction.
>
> Signed-off-by: Jarno Rajahalme <jarno.rajahalme at nsn.com>
Thanks! Good catch. I applied this. (I would have liked it better
if it added a test.)
More information about the dev
mailing list