Files
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
..
2023-10-24 13:08:14 -07:00
2026-08-14 13:57:27 -07:00
2023-10-24 13:08:14 -07:00
2022-11-22 20:41:54 -08:00
2023-10-24 13:08:14 -07:00
2023-10-24 13:08:14 -07:00