[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac8ecae9-7b8c-9c27-8b2d-7f091976579d@fb.com>
Date: Tue, 2 Mar 2021 22:26:10 -0800
From: Yonghong Song <yhs@...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 v2 4/9] udp: implement ->read_sock() for sockmap
On 3/1/21 6:37 PM, Cong Wang wrote:
> From: Cong Wang <cong.wang@...edance.com>
Some even simple commit message here will be preferred
compared to empty commit message.
>
> 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/net/udp.h | 2 ++
> net/ipv4/af_inet.c | 1 +
> net/ipv4/udp.c | 34 ++++++++++++++++++++++++++++++++++
> 3 files changed, 37 insertions(+)
>
> diff --git a/include/net/udp.h b/include/net/udp.h
> index 5264ba1439f9..44a94cfc63b5 100644
> --- a/include/net/udp.h
> +++ b/include/net/udp.h
> @@ -330,6 +330,8 @@ struct sock *__udp6_lib_lookup(struct net *net,
> struct sk_buff *skb);
> struct sock *udp6_lib_lookup_skb(const struct sk_buff *skb,
> __be16 sport, __be16 dport);
> +int udp_read_sock(struct sock *sk, read_descriptor_t *desc,
> + sk_read_actor_t recv_actor);
>
> /* UDP uses skb->dev_scratch to cache as much information as possible and avoid
> * possibly multiple cache miss on dequeue()
[...]
Powered by blists - more mailing lists