Home
last modified time | relevance | path

Searched hist:e4c6d7595403e943a3afc334eb8c0efcd840043a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/openvswitch/
H A Dflow_table.cdiff e4c6d7595403e943a3afc334eb8c0efcd840043a Fri Jan 31 11:43:23 CST 2014 Pravin B Shelar <pshelar@nicira.com> openvswitch: Fix ovs_flow_free() ovs-lock assert.

ovs_flow_free() is not called under ovs-lock during packet
execute path (ovs_packet_cmd_execute()). Since packet execute
does not touch flow->mask, there is no need to take that
lock either. So move assert in case where flow->mask is checked.

Found by code inspection.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>