Re: [PATCH net-next v1 04/15] psp: add support for socket-less psp associations
From: Todd Bert Freed
Date: Wed Nov 11 2026 - 19:56:24 EST
> I think the design could be improved by not reusing struct psp_assoc for
> the socketless rx spi accounting, and by not placing the socketless tx
> assoc on the active, prev, and stale lists next to the socket
> associations. I'll try to comment inline to give you a better idea of
> what I'm talking about.
Sounds good, I will do this.
> I would create a separate list for the socketless tx assocs, so that
> SADB handles can be flushed on psp_dev_unregister(). Then you can just
> leave this function untouched, because invalidating the generation is
> only for __psp_sk_rx_policy_check(), which isn't used by the socketless
> rx assocs.
This sounds good as well.
-Todd