Thread (13 messages) flat view 13 messages, 2 authors, 2021-02-13

Re: [Patch bpf-next v2 2/5] skmsg: get rid of struct sk_psock_parser

From: Lorenz Bauer <hidden>
Date: 2021-02-12 10:57:14
Also in: bpf

On Wed, 10 Feb 2021 at 02:21, Cong Wang [off-list ref] wrote:
From: Cong Wang <redacted>

struct sk_psock_parser is embedded in sk_psock, it is
unnecessary as skb verdict also uses ->saved_data_ready.
We can simply fold these fields into sk_psock, and get rid
of ->enabled.
Looks nice, can you use sk_psock_strp_enabled() more? There are a
couple places in sock_map.c which test psock->saved_data_ready
directly.


--
Lorenz Bauer  |  Systems Engineer
6th Floor, County Hall/The Riverside Building, SE1 7PB, UK

www.cloudflare.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help