Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp615508pxb; Tue, 29 Mar 2022 08:30:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzna9UonU0gOdS9bLDcq3SutOnNXfmyOweGCm979E2QVEpqCVGtoo4A/L7ZVHY5mLXwcMXS X-Received: by 2002:a65:4081:0:b0:381:6ff8:f4ba with SMTP id t1-20020a654081000000b003816ff8f4bamr2353155pgp.457.1648567801257; Tue, 29 Mar 2022 08:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648567801; cv=none; d=google.com; s=arc-20160816; b=vXxHOJLwp2qQNABCDI7QtpHkHN3iBAhTem1pWs/RGs3GSg66J5lSYOFPp0axMhH/kP ABpfmxHLwu5xrP6vYNOgrADdTngH2quMP+ZP//4s71/pytrPcz7JyYQgLb0U1ESCf05T L5xfsBRSkdbqacgskTL05EsP/cNYG4KiwbX75HHutBF7kt/B8aNTmkYk2V8F9cRYuIk1 luuZ0DWtDLu7isiC7AlMb9SqDaNREetwzWaO5n/hI2HEIQzXRiB5aUa6vyZAe0vHHlIL fT9I5R6I7pNW9wkmpP9p0R2/wItXJsCOp/km17/DhVPK4rHx9Turybx50f+lifB7v1P2 3U6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=B5v7tGj78IahmqyA7Ngq6pE8McfJDllEG8+44vMHBeM=; b=dRyyrxp5wrfGaxCNTY2fmLPHuua/UBINqK0O/Zy+ZXbKWRvmBYr3FiR76Rs3CucXnb xS9YPdnMg9ytlqWRUp5WJL1roAzpljI0aEoDdApMOOQ7taNwqG5cTwCHJiFeJXMw90FP 7ro0NHbfkzDPGIXP+QI7yrscCdUJWVFuF6u+pGHb+6L/oazzAQbNWH57Gyc58087hob7 tXAYzSBMcXCmtrsBcwrmRoPvIBzyDCoTDIam+kKT944+8hD390PmtMhxk6kzgpFFV/fZ ivitn5uYtCgViX8h2IUWYLoSpmJ19L7CYTUokhnS+ZAFYMQCjDQovX/2gX1PIFG0qXCH CFuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rePH5s5V; 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 f9-20020a170902e98900b00153b2d16581si16279486plb.393.2022.03.29.08.29.42; Tue, 29 Mar 2022 08:30:01 -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=rePH5s5V; 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 S234619AbiC2JV5 (ORCPT + 99 others); Tue, 29 Mar 2022 05:21:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbiC2JVy (ORCPT ); Tue, 29 Mar 2022 05:21:54 -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 E2BDB22511; Tue, 29 Mar 2022 02:20:11 -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 82AF760C68; Tue, 29 Mar 2022 09:20:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E5033C34110; Tue, 29 Mar 2022 09:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648545610; bh=3+Xxf4ZeoxhFAkn2U86wP3Y1R0YdU8rlp9MCz1wnac0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rePH5s5VcHiHzuQV0oKPU7SSBxNgDrHMWIjcruEE3u947kchNkIl91n/99/oET0dN YRaTWsbyP8U7C9Sf5B6N+wFJ8iRhf7zjQL8UepZ3uxSqNC0SJFoLGqijnjN9UgzmwO u6RoCEzA5VHrL20ODxHJr1116CTVxxT/7qXypC1WgeKN7pkvGz84zUFkl4M6vy7l/l QyffH3sTv2h9CU87dYmHeJyt6ILb7q9dGfewOb/hy9jCDbifqBFknooKgEgSKTsKCS NqVvordxRkWD+rE7HbBGm2+zRYLqzpDth+AyQ4Gs1mlDfZudGFxhY3osYTUU+f9SM1 iOE3NkccYW9RA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id CF22FF03848; Tue, 29 Mar 2022 09:20:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 net] net: lan966x: fix kernel oops on ioctl when I/F is down From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164854561084.720.4654566732650137898.git-patchwork-notify@kernel.org> Date: Tue, 29 Mar 2022 09:20:10 +0000 References: <20220328220350.3118969-1-michael@walle.cc> In-Reply-To: <20220328220350.3118969-1-michael@walle.cc> To: Michael Walle Cc: horatiu.vultur@microchip.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hello: This patch was applied to netdev/net.git (master) by Paolo Abeni : On Tue, 29 Mar 2022 00:03:50 +0200 you wrote: > ioctls handled by phy_mii_ioctl() will cause a kernel oops when the > interface is down. Fix it by making sure there is a PHY attached. > > Fixes: 735fec995b21 ("net: lan966x: Implement SIOCSHWTSTAMP and SIOCGHWTSTAMP") > Signed-off-by: Michael Walle > --- > changes since v1: > - reword commit message > - test for the presence of phydev instead of the interface state > - move the test just before phy_mii_ioctl() > > [...] Here is the summary with links: - [v2,net] net: lan966x: fix kernel oops on ioctl when I/F is down https://git.kernel.org/netdev/net/c/ad7da1ce5749 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html