On Mon, Jun 30, 2025 at 06:11 PM -07, Cong Wang wrote: > From: Zijian Zhang <zijianzhang@xxxxxxxxxxxxx> > > Optimizing redirect ingress performance requires frequent allocation and > deallocation of sk_msg structures. Introduce a dedicated kmem_cache for > sk_msg to reduce memory allocation overhead and improve performance. > > Acked-by: John Fastabend <john.fastabend@xxxxxxxxx> > Reviewed-by: Cong Wang <cong.wang@xxxxxxxxxxxxx> > Signed-off-by: Zijian Zhang <zijianzhang@xxxxxxxxxxxxx> > --- skb ref management looks all right. Meaning I see no double release. sk_msg_free clears the msg->skb field. While sk_psock_skb_ingress_enqueue sets msg->skb only when it succeeds. Reviewed-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx>