Message ID | 20200319123942.225759631@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=1QoN=5E=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C710C4332B for <stable@archiver.kernel.org>; Thu, 19 Mar 2020 13:34:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DFD6920663 for <stable@archiver.kernel.org>; Thu, 19 Mar 2020 13:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584624899; bh=Z6400ghqyujlvui4/ZBodSBv2DXaHjYA6s3mzaiiy0Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=uo+I1RDtmfflmXRnCx2A1euCrN2W0QIVjuhO0+J2IJh14fobGcnj5u8q4bcLXygNa vztFwA23t/xHjY1CsWdAGh1MeSFJ8o91L6YIv/f4RffOniBoH3ldQLaCBB5xLJ8VeF rYBCdtxumEuw28uSrgqJoGbDDdWL5Pij5wWqfVmc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727442AbgCSNMT (ORCPT <rfc822;stable@archiver.kernel.org>); Thu, 19 Mar 2020 09:12:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:58152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727103AbgCSNMT (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 19 Mar 2020 09:12:19 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 03D18214D8; Thu, 19 Mar 2020 13:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584623538; bh=Z6400ghqyujlvui4/ZBodSBv2DXaHjYA6s3mzaiiy0Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ap0FQImx9Rcos6TQTuFuuxTPmf0U+mSW1l93/hFcoYzoAvtuOlSaOLck4shz8UoXr Qu0I0g1T+J0bKN/ORg4Hrhv538PqwdTc0MKCYQSg3pZqne6XLL8D8/Yi4EjVS+z73N szoAs48evBgxElz3ZFoWSpHKrRBY+iY0DDeTGe0M= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>, Johannes Berg <johannes.berg@intel.com> Subject: [PATCH 4.9 44/90] nl80211: add missing attribute validation for channel switch Date: Thu, 19 Mar 2020 14:00:06 +0100 Message-Id: <20200319123942.225759631@linuxfoundation.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200319123928.635114118@linuxfoundation.org> References: <20200319123928.635114118@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -436,6 +436,7 @@ static const struct nla_policy nl80211_p [NL80211_ATTR_USER_PRIO] = { .type = NLA_U8 }, [NL80211_ATTR_ADMITTED_TIME] = { .type = NLA_U16 }, [NL80211_ATTR_SMPS_MODE] = { .type = NLA_U8 }, + [NL80211_ATTR_OPER_CLASS] = { .type = NLA_U8 }, [NL80211_ATTR_MAC_MASK] = { .len = ETH_ALEN }, [NL80211_ATTR_WIPHY_SELF_MANAGED_REG] = { .type = NLA_FLAG }, [NL80211_ATTR_NETNS_FD] = { .type = NLA_U32 },