Re: [PATCH net-next v1 04/15] psp: add support for socket-less psp associations

From
Todd Bert Freed <hidden>
Date
2026-11-12 00:51:57
Also in
bpf, linux-doc, linux-kselftest, linux-rdma, lkml
Reply to
Daniel Zahka, 2026-11-11
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
Thread (38 messages) 38 messages, 4 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help