]> 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)
commit5a66b6d084f3a62e688cc750051522a76e774f7d
treea013eb4d440cfc874332eb3120595e6b0c9976d8
parent05a5cbe42ed0ef58a57d232dbe6465ea04f6aac9
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