rtnetlink: unlock on error path in netlink_dump()
authorDan Carpenter <error27@gmail.com>
Wed, 15 Jun 2011 03:11:42 +0000 (03:11 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Fri, 17 Jun 2011 03:51:35 +0000 (23:51 -0400)
commitc63d6ea3060d9e10773e869b1112e3a0efbcf820
tree2f288627d1d0bfb666bb70c8dbb086932a82eb0d
parent59deab26c1974b29b7f501e0ace0673d5acadae1
rtnetlink: unlock on error path in netlink_dump()

In c7ac8679bec939 "rtnetlink: Compute and store minimum ifinfo dump
size", we moved the allocation under the lock so we need to unlock
on error path.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
net/netlink/af_netlink.c