openvswitch: Release rtnl_lock if ovs_vport_cmd_build_info() failed.
authorAnsis Atteka <aatteka@nicira.com>
Fri, 4 May 2012 01:40:38 +0000 (18:40 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 4 May 2012 01:40:38 +0000 (18:40 -0700)
commit4cb6e116bb97c8b87a1f4f95e99d0c8dda2a6e9b
tree071d9dfaa2cb307e0af570ae2455ce8deee9dbce
parentbf32fecdc1851ad9ca960f56771b798d17c26cf1
openvswitch: 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.

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