]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit4564b187c16327045d87596e8980c65ba7b84c50
tree44412b2e0ae4e812166ac793fb8012d2e6b159c0
parent0afe9d4ab9d40c281bdcdd118661fe8e4bdcef18
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: 44905265bc15 ("nl80211: don't expose wdev->ssid for most interfaces")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c