ofp-actions: Assert variable actions have len>0.
authorJoe Stringer <joe@ovn.org>
Mon, 7 Mar 2016 23:36:36 +0000 (15:36 -0800)
committerJoe Stringer <joe@ovn.org>
Tue, 8 Mar 2016 00:30:13 +0000 (16:30 -0800)
commit847b5649719cb933a51353142404c18585cf0a0e
treef9024ee211e139d97742e432882092af29d9956f
parent8a8b8fbdcc11ca81c81c2aedbd3330b5ee38a377
ofp-actions: Assert variable actions have len>0.

Variable-length actions must have a nonzero length; if they don't,
something went wrong and we should bail out.

Suggested-by: Ben Pfaff <blp@ovn.org>
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/ofp-actions.c