]> git.proxmox.com Git - ovs.git/commit
expr: Track writability as part of expr_symbol.
authorBen Pfaff <blp@ovn.org>
Fri, 15 Jul 2016 21:27:55 +0000 (14:27 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 8 Aug 2016 18:00:57 +0000 (11:00 -0700)
commitaddc63174e22f925b2373d91d59ab4c1c81cf9c2
treed4919451045466068aef2e88ee55da071825af01
parent6fdd4feedf71a0f687e086fc5b1622106eb48024
expr: Track writability as part of expr_symbol.

Until now it was only possible to find out whether an expr_symbol was
read/write or read-only, for subfields, by chasing down whether the
eventual parent field was read/write or read-only.  This commit adds
a new 'rw' member that indicates directly.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
include/ovn/expr.h
ovn/lib/expr.c