Re: [PATCH net v3 1/3] net: hsr: privatize interlink-bound skbs before address mutation

From
Jakub Kicinski <kuba@kernel.org>
Date
2026-08-14 01:27:45
Also in
linux-kselftest
Reply to
Xin Xie, 2026-08-08
On Sat,  8 Aug 2026 02:45:22 +0200 Xin Xie wrote:
quoted hunk ↗ jump to hunk
+	if (port->type == HSR_PT_INTERLINK &&
+	    (frame->port_rcv->type == HSR_PT_MASTER ||
+	     (frame->is_local_dest && !frame->is_local_exclusive)) &&
+	    skb_cow(skb, 0)) {
Would skb_cow_head() be sufficient? It's much cheaper, at least for TCP.
Thread (16 messages) 16 messages, 2 authors, last reply 2026-09-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help