linux/net/dsa
Nicolai Buchwitz 258c3ae4a4 net: rename skb_unshare() to skb_unclone_full()
skb_unshare() only copies cloned skbs. A shared skb that is not a clone
comes back unchanged, which the name doesn't suggest. The loopback
selftest hooks got caught by this and hit BUG_ON(skb_shared()).

Rename it to skb_unclone_full(). Like skb_unclone() it only acts on
clones, but it copies the whole skb, not just the head.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> # dpaa2
Link: https://patch.msgid.link/20261015-nb-skb-unclone-full-v1-1-0dfbf01f60f2@tipi-net.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-10-20 11:28:49 -07:00
..
conduit.c net: dsa: remove redundant netdev_lock_ops() from conduit ethtool ops 2026-04-16 19:10:48 -07:00
conduit.h net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
devlink.c devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
devlink.h
dsa.c net: dsa: drop explicit NULL comparisons 2026-08-14 13:57:27 -07:00
dsa.h net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
Kconfig net: dsa: tag_ks8995: Add the KS8995 tag handling 2026-09-18 17:49:09 -07:00
Makefile net: dsa: tag_ks8995: Add the KS8995 tag handling 2026-09-18 17:49:09 -07:00
netlink.c net: dsa: Rename IFLA_DSA_MASTER to IFLA_DSA_CONDUIT 2023-10-24 13:08:14 -07:00
netlink.h net: dsa: kill off dsa_priv.h 2022-11-22 20:41:54 -08:00
port.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
port.h net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
stubs.c net: dsa: replace NETDEV_PRE_CHANGE_HWTSTAMP notifier with a stub 2023-04-09 15:35:49 +01:00
switch.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
switch.h net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
tag_8021q.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tag_8021q.h net: dsa: tag_sja1105: refactor skb->dev assignment to dsa_tag_8021q_find_user() 2024-07-15 06:55:15 -07:00
tag_ar9331.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_brcm.c net: dsa: tag_brcm: legacy FCS: request needed tailroom 2026-09-09 13:31:08 -07:00
tag_dsa.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_gswip.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_hellcreek.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_ks8995.c net: dsa: tag_ks8995: Add the KS8995 tag handling 2026-09-18 17:49:09 -07:00
tag_ksz.c net: protocol: use assign_bit() where applicable 2026-09-21 17:18:54 -07:00
tag_lan9303.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_mt7628.c net: dsa: initial MT7628 tagging driver 2026-08-18 15:50:13 +02:00
tag_mtk.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_mxl-gsw1xx.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_mxl862xx.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_netc.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_none.c net: fill in MODULE_DESCRIPTION()s for DSA tags 2024-01-05 08:06:19 -08:00
tag_ocelot_8021q.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_ocelot.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_qca.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_rtl4_a.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_rtl8_4.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_rzn1_a5psw.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_sja1105.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_trailer.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_vsc73xx_8021q.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_xrs700x.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag_yt921x.c net: dsa: Fix skb ownership in taggers 2026-06-27 15:44:12 -07:00
tag.c net: rename skb_unshare() to skb_unclone_full() 2026-10-20 11:28:49 -07:00
tag.h net: dsa: introduce the dsa_xmit_port_mask() tagging protocol helper 2025-11-28 20:03:39 -08:00
trace.c net: dsa: add trace points for FDB/MDB operations 2023-04-12 08:36:07 +01:00
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
user.c net: dsa: drop explicit NULL comparisons 2026-08-14 13:57:27 -07:00
user.h net: dsa: update the unicast MAC address when changing conduit 2024-06-10 13:48:06 +01:00