datapath: Make flow mask removal symmetric.
authorJarno Rajahalme <jrajahalme@nicira.com>
Sat, 29 Mar 2014 22:52:32 +0000 (15:52 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Sat, 29 Mar 2014 22:52:32 +0000 (15:52 -0700)
commit0641a4fbd74d47648ae79208ab36ae3d35284a4d
tree2ccee0077013a267ca6214be507a23850e1ad5b2
parentafad3556357e08a3001b9edafcbc267c2e42b715
datapath: Make flow mask removal symmetric.

Masks are inserted when flows are inserted to the table, so it is
logical to correspondingly remove masks when flows are removed from
the table, in ovs_flow_table_remove().

This allows ovs_flow_free() to be called without locking, which will
be used by later patches.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>Summary:
datapath/flow_table.c