[PATCH net 2/4] rxrpc: Fix conn-level packet handling to unshare RESPONSE packets

David Howells dhowells at redhat.com
Tue Apr 21 13:58:56 PDT 2026


Simon Horman <horms at kernel.org> 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




More information about the linux-afs mailing list