[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <602ac3c4ec38f_3ed412084e@john-XPS-13-9370.notmuch>
Date: Mon, 15 Feb 2021 10:56:05 -0800
From: John Fastabend <john.fastabend@...il.com>
To: Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org
Cc: bpf@...r.kernel.org, duanxiongchun@...edance.com,
wangdongdong.6@...edance.com, jiang.wang@...edance.com,
Cong Wang <cong.wang@...edance.com>,
John Fastabend <john.fastabend@...il.com>,
Daniel Borkmann <daniel@...earbox.net>,
Jakub Sitnicki <jakub@...udflare.com>,
Lorenz Bauer <lmb@...udflare.com>
Subject: RE: [Patch bpf-next v3 2/5] skmsg: get rid of struct sk_psock_parser
Cong Wang wrote:
> From: Cong Wang <cong.wang@...edance.com>
>
> 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.
>
> Cc: John Fastabend <john.fastabend@...il.com>
> Cc: Daniel Borkmann <daniel@...earbox.net>
> Cc: Jakub Sitnicki <jakub@...udflare.com>
> Cc: Lorenz Bauer <lmb@...udflare.com>
> Signed-off-by: Cong Wang <cong.wang@...edance.com>
> ---
> include/linux/skmsg.h | 19 ++++++----------
> net/core/skmsg.c | 53 +++++++++++++------------------------------
> net/core/sock_map.c | 8 +++----
> 3 files changed, 27 insertions(+), 53 deletions(-)
>
Acked-by: John Fastabend <john.fastabend@...il.com>
Powered by blists - more mailing lists