[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0efafd15-d31f-45f7-9052-5666921100fc@ti.com>
Date: Thu, 26 Jun 2025 11:37:33 +0530
From: Siddharth Vadapalli <s-vadapalli@...com>
To: Chintan Vankar <c-vankar@...com>
CC: <andrew+netdev@...n.ch>, <davem@...emloft.net>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>, <rogerq@...nel.org>,
<horms@...nel.org>, <mwalle@...nel.org>, <jacob.e.keller@...el.com>,
<jpanis@...libre.com>, <s-vadapalli@...com>, <danishanwar@...com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net v2] net: ethernet: ti: am65-cpsw-nuss: Fix skb size
by accounting for skb_shared_info
On Thu, Jun 26, 2025 at 10:42:26AM +0530, Chintan Vankar wrote:
> While transitioning from netdev_alloc_ip_align() to build_skb(), memory
> for the "skb_shared_info" member of an "skb" was not allocated. Fix this
> by including sizeof(skb_shared_info) in the packet length during
> allocation.
>
> Fixes: 8acacc40f733 ("net: ethernet: ti: am65-cpsw: Add minimal XDP support")
> Signed-off-by: Chintan Vankar <c-vankar@...com>
> ---
>
> This patch is based on the commit '9caca6ac0e26' of origin/main branch of
> Linux-net repository.
>
> Link to v1:
> https://lore.kernel.org/r/598f9e77-8212-426b-97ab-427cb8bd4910@ti.com/
>
> Changes from v1 to v2:
> - Updated commit message and code change as suggested by Siddharth
> Vadapalli.
Thank you for addressing the feedback on the v1 patch.
Reviewed-by: Siddharth Vadapalli <s-vadapalli@...com>
Regards,
Siddharth.
Powered by blists - more mailing lists