Re: [PATCH net-next v7 15/16] quic: add packet builder base
Xin Long <[email protected]> Tue, 20 Jan 2026 11:07:35 -0500
| Newsgroups | dev.linux.lists.quic,dev.linux.lists.kernel-tls-handshake,org.kernel.vger.linux-cifs,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CADvbK_eUfuuwMg28nxo4g4+fLjJNrRDDWro8oape3uXu6GvoQA@mail.gmail.com> |
On Tue, Jan 20, 2026 at 9:31 AM Paolo Abeni <[email protected]> wrote: > > On 1/15/26 4:11 PM, Xin Long wrote: > > +static struct sk_buff *quic_packet_handshake_create(struct sock *sk) > > +{ > > + struct quic_packet *packet = quic_packet(sk); > > + struct quic_frame *frame, *next; > > + > > + /* Free all frames for now, and future patches will implement the actual creation logic. */ > > + list_for_each_entry_safe(frame, next, &packet->frame_list, list) { > > + list_del(&frame->list); > > + quic_frame_put(frame); > > If you leave this function body empty and do the same for > quic_packet_app_create(), you could additionally strip patch 14 from > this series and avoid leaving several function defined there as unused. > I will give it a try, to move patch 14 to patchset-2. Thanks.