Re: [PATCH net-next v7 15/16] quic: add packet builder base
Paolo Abeni <[email protected]> Tue, 20 Jan 2026 15:31:38 +0100
| Newsgroups | dev.linux.lists.quic,dev.linux.lists.kernel-tls-handshake,org.kernel.vger.linux-cifs,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
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.
/P