]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f74f9be28f08cf8a7120668df397b6897e5e8e8
treea013eb4d440cfc874332eb3120595e6b0c9976d8
parentc1499ec03f5351316f499eb6edd288bfe75d5bce
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