From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB6A71ED4C for ; Fri, 16 Jun 2023 20:24:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8288C433C0; Fri, 16 Jun 2023 20:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686947062; bh=ylK/aMvjc0mF4TCdWZsUj13+p9LnNqCg6DUkuSeqkN8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gacFiApmwalo+MUgUrbHlYCv5PzshUTcrNuTY89HSvwEzbmWvKcMVPnMoreZK2ZxY NZo/a1E7VpD0e+kHwpYerQi0GiIAGVX+XbTcuzwA3i4Pi5u56BadD0LmFf33Yd93UB 2LzfZCQozNXendn4uR2qAFgMWOnSl9/pBGrmKU17jJ41pgSwbnVBG3DJajeT02FMOM EhPvf18TxhwnNlFXTVXEJB1KcgwPVkluVvHQB2hc9mZ27f98sfljiTSeHwxq4e0r2o 0ktreHt441n1VQXFRISqotjnxI6EmPs1WP5210ARxQ4s5nQnQv7TS4P1pmnD29MBqP AcIkznp4GC0TA== Date: Fri, 16 Jun 2023 13:24:20 -0700 From: Jakub Kicinski To: Eric Dumazet Cc: "David S . Miller" , Paolo Abeni , netdev@vger.kernel.org, eric.dumazet@gmail.com, syzbot , David Ahern Subject: Re: [PATCH net-next] ipv6: also use netdev_hold() in ip6_route_check_nh() Message-ID: <20230616132420.3add6e75@kernel.org> In-Reply-To: <20230616085752.3348131-1-edumazet@google.com> References: <20230616085752.3348131-1-edumazet@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 16 Jun 2023 08:57:52 +0000 Eric Dumazet wrote: > In blamed commit, we missed the fact that ip6_validate_gw() > could change dev under us from ip6_route_check_nh() > > In this fix, I use GFP_ATOMIC in order to not pass too many additional > arguments to ip6_validate_gw() and ip6_route_check_nh() only > for a rarely used debug feature. Eeh. Reviewed-by: Jakub Kicinski Thank you!