commit | e4c6d7595403e943a3afc334eb8c0efcd840043a | [log] [tgz] |
---|---|---|
author | Pravin B Shelar <pshelar@nicira.com> | Fri Jan 31 09:43:23 2014 -0800 |
committer | Jesse Gross <jesse@nicira.com> | Tue Feb 04 22:21:45 2014 -0800 |
tree | 66cff145611dcd24a267ace5e6e48b86b4747dcf | |
parent | 45fb9c35b27c9982e9a55d04ed0a5230a2d0b306 [diff] |
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>