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 E7050F9EA for ; Wed, 7 Feb 2024 02:52:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707274349; cv=none; b=FY67CGADKIcAqtv+lYGAMClnCN8GLsTEFcAft6GCUAXUb3h3Pow/L9s/aldvrSfOPeHdbdHyBgE7xL6NIeBKnsbf23zYq0rK6cV/itV0rensmwLO/K4pEmk3+gWePXkKLsIhISZ5pqBQdYkzbDecpzKYdCFLyuIt2Ogfm4FMol0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707274349; c=relaxed/simple; bh=MgFQt7+mW6+kJeUJTLWwhnb5nHTWtLRh9tlkeQpTXhY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=peiboILPKZonGxNs8lkBwRNlCXAX+cpq+4DPhGgpK+sLw8P9xvk5vDWedJIE3nsr3NcehB7A5bSnWpH3IZHsUN6cs+/mt7BA0jUjYpqiHR4jAAof/CNq2CYYF1ZBVN3r3ZMf/2r6tQ/q7pi6HEiOppHp32Q0rS47eZVsb8k3x0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PsKb+HMZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PsKb+HMZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A551C433F1; Wed, 7 Feb 2024 02:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707274348; bh=MgFQt7+mW6+kJeUJTLWwhnb5nHTWtLRh9tlkeQpTXhY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PsKb+HMZel68JRZpb/EFP1V1yuMJFg0vydx0ccAxDTxQsbluzXTuaH40uGrrne4ab IRemKlnQcGlv6TtBZbRQPEDf5/mC3sBK9CKGto23SCtgvO1wRWwVgdXKReVgUpeccO /L7pO5HYpwLYhf+8FzSuz2PcQg3YAOS2v1bS5onK8tFPc5Xxb01FeFhc6QkUOLuc52 aVjrqLFls0pyKjsFnJxRTUi5YHZoefnCM1pHH25DedLVkZm78l+VTtTlXwz7KfOcad kxe+zh/bSJ95NWmEiNkzwlMmawrgjaoA5mECtvxJFxjHt1R7ygq42alSvcXSKo0PEL ssC8AS0Uqqn1w== Date: Tue, 6 Feb 2024 18:52:27 -0800 From: Jakub Kicinski To: Geoff Levand Cc: sambat goson , Christophe Leroy , Paolo Abeni , "David S. Miller" , "netdev@vger.kernel.org" Subject: Re: [PATCH v2 net] ps3/gelic: Fix SKB allocation Message-ID: <20240206185227.5c167ea5@kernel.org> In-Reply-To: <2acf3fe5-7206-46d6-adac-0bf40d175d5d@infradead.org> References: <2acf3fe5-7206-46d6-adac-0bf40d175d5d@infradead.org> 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 Mon, 5 Feb 2024 10:48:07 +0900 Geoff Levand wrote: > Commit 3ce4f9c3fbb3 ("net/ps3_gelic_net: Add gelic_descr structures") > of 6.8-rc1 did not set up the network SKB's correctly, resulting in > a kernel panic. > > This fix changes the way the napi buffer and corresponding SKB are > allocated and managed. > > Reported-by: sambat goson > Fixes: 3ce4f9c3fbb3 ("net/ps3_gelic_net: Add gelic_descr structures") > Signed-off-by: Geoff Levand Please make the commit message describe the problem in more detail. It's also indented for no reason.