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)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 18 May 2012 10:38:29 +0000 (15:38 +0530)
commite10e022ca058195e1841762dcc122690c2cfc7f0
tree8328d598bf680c23e36592ea1c3b8e9a4b65469f
parentf2290faf29a2711c65ff2545e2ef5bc6097868bf
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