Re: [PATCH net 2/4] rxrpc: Fix conn-level packet handling to unshare RESPONSE packets
From: David Howells
Date: Tue Apr 21 2026 - 16:59:22 EST
Simon Horman <horms@xxxxxxxxxx> wrote:
> This isn't a new bug introduced by this patch, but since we are modifying
> the unshare path here: when rxrpc_unshare_skb() fails, it sets *_skb = NULL
> and returns just_discard.
Is there a way to avoid having skb_unshare() eat your ref to the source skbuff
if it fails?
David