Received: by 10.192.165.148 with SMTP id m20csp848250imm; Fri, 27 Apr 2018 08:27:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrYJxWg9KTGnAL5A/jnZZaX8l/pIpxzkscNm7EhiDVvBaBTsG/cBXXTTipwK3abSvgyhB9U X-Received: by 2002:a65:6484:: with SMTP id e4-v6mr2546096pgv.102.1524842868459; Fri, 27 Apr 2018 08:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524842868; cv=none; d=google.com; s=arc-20160816; b=Cid9WgSxywfEz5YTB939hWPJzlBs5vrejCmdyqy+jM6CwM/Qg09f6lbGzes9V3uAMD klg1pkbOfCugOM8cSWhE39V9ot5ttjnqyXOhYcO3FrdzIiQkQcDSTCOEGwlXajdSwGBE PT8hI+Fe1uId3GKzq11UX7WXxmx+3JZofit7XF7m66VrcedNgSKi/xu3Xt2VVNxSdILf nGgc7zjrrNMzleD2sVdhYVTFh7DYL1ufuoumIQv60OdXpbT9GcVgkmMQPkhTIwkPtYLu mLW2cUbyVf6y66TowYvXYKU7neqYB4v2ORoN8hUNFRImc1FQt0vYk3tSSJyuJAy7vCHq o1EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=o/G6jrhxtDKQLxf0mRz6jbVe134+IyAcV4wcYRsgOhk=; b=kMG7ZXpIpqGvWgE3SSLrfiYNbyuOk5y5jdWCit1vj7ZLqM449LwPuDKFKJBzJHMM7W 2pAcx/6VupXBBI7+wssiO7BcCVI5gDpmxrCmuZs5n5eWGCLHfmC8t9oyPejZpzEEtadW nE6dn0dZtIpZpzHIDDhOWOfWy4egrtL7kMFWXhJo2OAdhVaTnm41ueVS8yrkD4/8uOWj bp/3kdif5TttD5AD7NXogSVTkGfsw1t6MWyALlNTZpDuEFQkIe4++bn9BcgQ7YkbOx5N IiG//3N7CbU4C08Bod9El3FdqJ2q2omZ2LExAzKrPh1vOn6E3LwpbyVRscVnGe9WGfXa 8e9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p88si1478667pfk.134.2018.04.27.08.27.34; Fri, 27 Apr 2018 08:27:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933283AbeD0OCJ (ORCPT + 99 others); Fri, 27 Apr 2018 10:02:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:48906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932892AbeD0OCG (ORCPT ); Fri, 27 Apr 2018 10:02:06 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 398E321897; Fri, 27 Apr 2018 14:02:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 398E321897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eric Dumazet , Jon Maloy , Ying Xue , "David S. Miller" Subject: [PATCH 4.4 42/50] tipc: add policy for TIPC_NLA_NET_ADDR Date: Fri, 27 Apr 2018 15:58:44 +0200 Message-Id: <20180427135658.158521318@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135655.623669681@linuxfoundation.org> References: <20180427135655.623669681@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Eric Dumazet [ Upstream commit ec518f21cb1a1b1f8a516499ea05c60299e04963 ] Before syzbot/KMSAN bites, add the missing policy for TIPC_NLA_NET_ADDR Fixes: 27c21416727a ("tipc: add net set to new netlink api") Signed-off-by: Eric Dumazet Cc: Jon Maloy Cc: Ying Xue Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/tipc/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/tipc/net.c +++ b/net/tipc/net.c @@ -44,7 +44,8 @@ static const struct nla_policy tipc_nl_net_policy[TIPC_NLA_NET_MAX + 1] = { [TIPC_NLA_NET_UNSPEC] = { .type = NLA_UNSPEC }, - [TIPC_NLA_NET_ID] = { .type = NLA_U32 } + [TIPC_NLA_NET_ID] = { .type = NLA_U32 }, + [TIPC_NLA_NET_ADDR] = { .type = NLA_U32 }, }; /*