openvswitch: Make flow mask removal symmetric.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 5 May 2014 20:24:53 +0000 (13:24 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Thu, 22 May 2014 23:27:35 +0000 (16:27 -0700)
commit56c19868e115fcf8d62d843e1b9616bb9837d0db
treea013eb4d440cfc874332eb3120595e6b0c9976d8
parentfb5d1e9e127ad1542e5db20cd8620a1509baef69
openvswitch: 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>
net/openvswitch/flow_table.c