Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1016395ybg; Sat, 26 Oct 2019 11:22:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcJyNiHYU8zO014E8FLVNOET/H1nYQrNKErQ7PZm1QIHwPLeUovbNEYJrjyUy9cPXFt6jW X-Received: by 2002:a17:906:8155:: with SMTP id z21mr9448718ejw.180.1572114135157; Sat, 26 Oct 2019 11:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572114135; cv=none; d=google.com; s=arc-20160816; b=0PsYC22iIxMyVxkWHiaxTPGD3+tLehF1ecXjp5poGhyy+ZBiUC6LR+kdyZYmuu4sCx ZImdU7bBxoeRJjM5aShNaervmWTU6m+v+cFEEX/pL3qrUIrfq8A5hjRyRGZZ7glH+OFD UKhsEzg1QzK7Vhj2mx6buyM0jJB52GP4HlpJ2Fs/ka91r3CztFougFVVIX84G5xz+CK0 iXjbT/XsQm6UGeY0r3txPJfy72nazrT7PJ3K9ru9Pkag4zjsqNtKmdmx+c3d+OmEWg30 DCGILKi9j7E/FKOO0dl3t2HRm1IbWNFUefxAeQ0Pa+emy54R1JFjgrlzyNOyMw8B6kBj sN4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=3bpT+TT1pxV7GwpU/Crx2GnqDRi5vnIwPmyK2NpGP2o=; b=n5MWkrlZUzO8XwPSUfQznc2EsgPjqA5F1J19YtScuPQ0MlUPpxWFAWhklvmqLdDOfM PA/9WtGvuJtQXDBQ+sFnRKV1GkTD4FAXybxC6OeW5y7wpMaTQy19XPJbIHz4F64YCa7o 1LLA9jv8/f8P7H1H+oyXgyth3fVgvsf+4KQFfa0tt2/Dct2wLAa8jzR2ocyWQTcp8q/y 5ResXxCGO+71IRRe6MDvusap3Z7aGTt58cytdDLLnYougOUMxen49Wi32V2+hU5Hhsjm iDXPHwcbb8Dh6fh2We+g1jtskUefXAIAtrSw7TyqcnQ0+hG1pwVrNZH/GoDe6MQfWcgd A6KA== 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 a30si3983302eda.39.2019.10.26.11.21.51; Sat, 26 Oct 2019 11:22:15 -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 S1726439AbfJZSVM (ORCPT + 99 others); Sat, 26 Oct 2019 14:21:12 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:47790 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfJZSVM (ORCPT ); Sat, 26 Oct 2019 14:21:12 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7E13C14DE9788; Sat, 26 Oct 2019 11:21:10 -0700 (PDT) Date: Sat, 26 Oct 2019 11:21:06 -0700 (PDT) Message-Id: <20191026.112106.1243696018896349260.davem@davemloft.net> To: zhang.lin16@zte.com.cn Cc: ast@kernel.org, daniel@iogearbox.net, jakub.kicinski@netronome.com, hawk@kernel.org, john.fastabend@gmail.com, mkubecek@suse.cz, jiri@mellanox.com, pablo@netfilter.org, f.fainelli@gmail.com, maxime.chevallier@bootlin.com, lirongqing@baidu.com, vivien.didelot@gmail.com, linyunsheng@huawei.com, natechancellor@gmail.com, arnd@arndb.de, dan.carpenter@oracle.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, xue.zhihong@zte.com.cn, wang.yi59@zte.com.cn, jiang.xuexin@zte.com.cn Subject: Re: [PATCH] net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol() From: David Miller In-Reply-To: <1572076456-12463-1-git-send-email-zhang.lin16@zte.com.cn> References: <1572076456-12463-1-git-send-email-zhang.lin16@zte.com.cn> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 26 Oct 2019 11:21:11 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: zhanglin Date: Sat, 26 Oct 2019 15:54:16 +0800 > memset() the structure ethtool_wolinfo that has padded bytes > but the padded bytes have not been zeroed out. > > Signed-off-by: zhanglin Applied and queued up for -stable.