commit | aed067783e505bf66dcafa8647d08619eb5b1c55 | [log] [tgz] |
---|---|---|
author | Jarno Rajahalme <jrajahalme@nicira.com> | Mon May 05 14:40:13 2014 -0700 |
committer | Pravin B Shelar <pshelar@nicira.com> | Thu May 22 16:27:36 2014 -0700 |
tree | 272d7ee43bc9dd29ee8c958d32cadc76d4231a3b | |
parent | 0e9796b4af9ef490e203158cb738a5a4986eb75c [diff] |
openvswitch: Minimize ovs_flow_cmd_del critical section. ovs_flow_cmd_del() now allocates reply (if needed) after the flow has already been removed from the flow table. If the reply allocation fails, a netlink error is signaled with netlink_set_err(), as is already done in ovs_flow_cmd_new_or_set() in the similar situation. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>