]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01c916118e3173778719329451decf5eb4ab3ebd
tree2f288627d1d0bfb666bb70c8dbb086932a82eb0d
parent22c19ca88e3559f6d35a277b04cfeae5f2c68a8f
rtnetlink: unlock on error path in netlink_dump()

In fbaa6402282df2 "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