ofproto: Lock for vlan splinters only if have them.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 7 Feb 2014 19:34:01 +0000 (11:34 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 12 Feb 2014 21:58:47 +0000 (13:58 -0800)
Reading the hmap count for determining if it is empty or not is thread
safe, so avoid locking when not necessary.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>

No differences found