datapath: Release rtnl_lock if ovs_vport_cmd_build_info() failed
authorAnsis Atteka <aatteka@nicira.com>
Thu, 3 May 2012 20:48:40 +0000 (13:48 -0700)
committerAnsis Atteka <aatteka@nicira.com>
Fri, 4 May 2012 00:13:13 +0000 (17:13 -0700)
commit7a6c067d1ad65ae4abdb723b25a4ab591d1d2bc3
tree6519074c709dfcb5b4de777de813e72e259e5dc2
parente0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e
datapath: Release rtnl_lock if ovs_vport_cmd_build_info() failed

This patch fixes a possible lock-up bug where rtnl_lock might not
get released.

Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Ansis Atteka <aatteka@nicira.com>
datapath/datapath.c