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

Commit cec05346 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "nl80211: Free connkeys on external authentication failure"

parents eae6f3d0 23d1738c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9197,6 +9197,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;