cfg80211: fix rtnl leak in wiphy dump error cases
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 14:51:03 +0000 (16:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 14:52:39 +0000 (16:52 +0200)
In two wiphy dump error cases, most often when the dump allocation
must be increased, the RTNL is leaked. This quickly results in a
complete system lockup. Release the RTNL correctly.

Reported-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found