From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 207FAC433F5 for ; Tue, 29 Mar 2022 09:20:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234614AbiC2JVz (ORCPT ); Tue, 29 Mar 2022 05:21:55 -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 Precedence: bulk List-ID: X-Mailing-List: netdev@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