Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3019675rwd; Fri, 9 Jun 2023 23:24:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+qNqHn3+Cz/ZNLxYwrjQxkgcNttoCcWNkHAC/35q+RDIsAgSt6CpMLxQ5CDMWHCIJvOjB X-Received: by 2002:a17:907:a414:b0:965:b087:8002 with SMTP id sg20-20020a170907a41400b00965b0878002mr4373255ejc.0.1686378277988; Fri, 09 Jun 2023 23:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686378277; cv=none; d=google.com; s=arc-20160816; b=aWSx8v7a2aBhTQlEx7ukR1aomTFNXBXW7MnvN4MsQd4kUIg04Inc6ibwRtByZiszhs O4hmSgadDWOnnj2B1Inz4cTg/2XE2fQawuaVZY1CiOIsOuu5ks3FRbVkmmk/IHHA8Nqe RYFG1iUMuCXWpApPp5JiZHB6nTYPuQZCwVNnXCZC6ti1Twe9gHl+es2fBFraUYQcRb69 t5q3W2olUyg9BPjdx0/w+7StkmFWbyC3vcljo6cqpqpPvX6R1GfUMPfsiVfwWb/d+Eb8 M/GolIBhqW7wsDTr37RR0A+gBTm4PpLY6Pdq5Ese8N5C2+GGqZ4uzhknAscVuwtKG1GR UrXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7kbD8U7qMA7+t9dTOAqvb2DuoqZv/lC1q6R6CMM6Otk=; b=E1FMN6OvFEl97VSaVQniqrpaAG5BeixOwN73vbj9wemaCdV9FWBabX1bysxqktNEVJ c3WHkQ3OoUtWB5NSUUhSi9K8aI8fT3N/jDRhLieh0A86gChLadu9gFlTpZ+Let/Yl7XU V4HY15PwVAI1VShR+RF94dn95TotHfMzwexmAvm2fjeO+JJkIOzIFapBYKr+SubTRLXZ nmf12IBgHWkbP8Wb7N8ppBN7TA0Zp7xoHoEXKl12/Dcqb0C6iRXu/RTBAzGtluLYNwmO EjAb+PbNygPaptb3p99NRQO8AmA877rgAvL1CwUqP8vIrdpXB6Chae4rP0ctP6CM4+p7 Q25g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="WfQA/qiw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d24-20020a17090648d800b00977d2d3b9b8si2221158ejt.117.2023.06.09.23.24.13; Fri, 09 Jun 2023 23:24:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="WfQA/qiw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjFJGSs (ORCPT + 99 others); Sat, 10 Jun 2023 02:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjFJGSr (ORCPT ); Sat, 10 Jun 2023 02:18:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B3D23AB3 for ; Fri, 9 Jun 2023 23:18:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB95461E5B for ; Sat, 10 Jun 2023 06:18:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 629E2C433EF; Sat, 10 Jun 2023 06:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686377925; bh=KPgD/9Glz7+iZJGMHKYZ1mmYqCqGiq+K6N4Gb83nmU4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WfQA/qiwN1uY78SbVfP0pXYOw5bXZvDwqwyzVfboSQZbiZl0tmk8E/y8FT5EmvVMs F9laZGCQo2iY3O1qTj+IoL/woQBGKebAO2I3ZrX+r/pbvax59Us1GFfb8iMUxE5sNB L1SlxWyszSzsPrKaE+Zs3NxL9o01Cg0L9OoRoFAufQYowtk+fclGqD8zPXJVSds3Hr ayV+4d3cOmKBrxNlu1Aug5zApooRSDmAVd1tDEHj9YrEh7OG9onz6N+HT3tc658Eh/ ivqV9atz7ykJKM5D0f/886+1PddRHsJzU+ev2NjjSzwXdn7GSHcgx3aZ5n6NPFXiH6 oXdvy72MdEqoQ== Date: Fri, 9 Jun 2023 23:18:43 -0700 From: Jakub Kicinski To: Justin Chen Cc: netdev@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, "David S. Miller" , Eric Dumazet , Paolo Abeni , Andrew Lunn , Daniil Tatianin , Ido Schimmel , Marco Bonelli , Wolfram Sang , Jiri Pirko , Gal Pressman , Vincent Mailhol , Kuniyuki Iwashima , open list Subject: Re: [PATCH v2 net-next] ethtool: ioctl: improve error checking for set_wol Message-ID: <20230609231843.6e5a18db@kernel.org> In-Reply-To: References: <1686179653-29750-1-git-send-email-justin.chen@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Jun 2023 13:47:22 -0700 Justin Chen wrote: > Was thinking more about this patch. I realized we don't account for the > different sopass case. > # ethtool -s eth0 wol s sopass 11:22:33:44:55:66 > # ethtool -s eth0 wol s sopass 22:44:55:66:77:88 > > For this case, the second sopass values won't be stored. > > Can you drop this patch? I will submit another version. We can't drop patches, it'd mess up commit IDs and basing trees on top of net-next would be a major PITA for people. Please send a fix on top (with a Fixes tag making it clear that the problem has not reached any -rc kernel).