]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: fix nl80211_send_iface() error paths
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2017 11:33:47 +0000 (12:33 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2017 11:33:47 +0000 (12:33 +0100)
commit0fd4d5590a5e48842e41b89d32e526e611af5f36
tree44412b2e0ae4e812166ac793fb8012d2e6b159c0
parent1cca287168fcb6b8002510f579dabbf89c386e9d
nl80211: fix nl80211_send_iface() error paths

Evidently I introduced a locking bug in my change here,
the nla_put_failure sometimes needs to unlock. Fix it.

Fixes: f90aa01dc33f ("nl80211: don't expose wdev->ssid for most interfaces")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c