ofproto: Make 'importance' immutable.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Jun 2015 22:05:55 +0000 (15:05 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 3 Jul 2015 00:40:58 +0000 (17:40 -0700)
commitcf119e09c6299273ca106b281b09af678abe4ce3
treec23a59f48a25263747e16e2676793828225a8b89
parent445a266a5fe0220088210d556880f2939309d5e0
ofproto: Make 'importance' immutable.

OpenFlow provides no means to change the importance of a flow after it is
added, so make it immutable so that it is reasonable to read it without
locking.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
ofproto/ofproto-provider.h
ofproto/ofproto.c