mirror-linux/drivers/net/ethernet/ti
Chintan Vankar 02c4d6c26f net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info
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 allocating "PAGE_SIZE" as the skb length, accounting for the packet
length, headroom and tailroom, thereby including the required memory space
for skb_shared_info.

Fixes: 8acacc40f7 ("net: ethernet: ti: am65-cpsw: Add minimal XDP support")
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
Link: https://patch.msgid.link/20250707085201.1898818-1-c-vankar@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-07-09 19:21:06 -07:00
..
icssg net: ti: icssg-prueth: Fix packet handling for XDP_TX 2025-06-17 15:33:36 -07:00
Kconfig
Makefile
am65-cpsw-ethtool.c
am65-cpsw-nuss.c net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info 2025-07-09 19:21:06 -07:00
am65-cpsw-nuss.h
am65-cpsw-qos.c
am65-cpsw-qos.h
am65-cpsw-switchdev.c
am65-cpsw-switchdev.h
am65-cpts.c
am65-cpts.h
cpsw-common.c
cpsw-phy-sel.c
cpsw.c net: cpsw: isolate cpsw_ndo_ioctl() to just the old driver 2025-05-14 19:41:46 -07:00
cpsw.h
cpsw_ale.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
cpsw_ale.h
cpsw_ethtool.c
cpsw_new.c net: cpsw: isolate cpsw_ndo_ioctl() to just the old driver 2025-05-14 19:41:46 -07:00
cpsw_priv.c net: cpsw: isolate cpsw_ndo_ioctl() to just the old driver 2025-05-14 19:41:46 -07:00
cpsw_priv.h net: cpsw: isolate cpsw_ndo_ioctl() to just the old driver 2025-05-14 19:41:46 -07:00
cpsw_sl.c
cpsw_sl.h
cpsw_switchdev.c
cpsw_switchdev.h
cpts.c
cpts.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c
davinci_mdio.c
k3-cppi-desc-pool.c
k3-cppi-desc-pool.h
netcp.h
netcp_core.c
netcp_ethss.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
netcp_sgmii.c
netcp_xgbepcsr.c
tlan.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
tlan.h