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

Jakub Kicinski <[email protected]>
Newsgroups gmane.linux.network
Message-ID <[email protected]>
On Sat,  8 Aug 2026 02:45:22 +0200 Xin Xie wrote:
> +	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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.