Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 296d4dfb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "nl80211: Free connkeys on external authentication failure"

parents 08c625ec 49691ba8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8972,6 +8972,7 @@ static int nl80211_connect(struct sk_buff *skb, struct genl_info *info)

	if (nla_get_flag(info->attrs[NL80211_ATTR_EXTERNAL_AUTH_SUPPORT])) {
		if (!info->attrs[NL80211_ATTR_SOCKET_OWNER]) {
			kzfree(connkeys);
			return -EINVAL;
		}
		connect.flags |= CONNECT_REQ_EXTERNAL_AUTH_SUPPORT;