There is a inconsistent ordering in function ovs_vport_cmd_set()
between upstream and out of tree ovs module. Following patch
fixes it by releasing lock before calling ovs_notify.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
info->snd_seq, 0, OVS_VPORT_CMD_NEW);
BUG_ON(err < 0);
- ovs_notify(reply, info, &ovs_dp_vport_multicast_group);
-
ovs_unlock();
+ ovs_notify(reply, info, &ovs_dp_vport_multicast_group);
return 0;
exit_free: