bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch bpf-next] skmsg: add function doc for skb->_sk_redir
@ 2021-03-01 18:48 Cong Wang
  2021-03-01 18:54 ` John Fastabend
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Cong Wang @ 2021-03-01 18:48 UTC (permalink / raw)
  To: netdev
  Cc: bpf, Cong Wang, Lorenz Bauer, Daniel Borkmann, John Fastabend,
	Jakub Sitnicki

From: Cong Wang <cong.wang@bytedance.com>

This should fix the following warning:

include/linux/skbuff.h:932: warning: Function parameter or member
'_sk_redir' not described in 'sk_buff'

Reported-by: Lorenz Bauer <lmb@cloudflare.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Cong Wang <cong.wang@bytedance.com>
---
 include/linux/skbuff.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index bd84f799c952..0503c917d773 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -656,6 +656,7 @@ typedef unsigned char *sk_buff_data_t;
  *	@protocol: Packet protocol from driver
  *	@destructor: Destruct function
  *	@tcp_tsorted_anchor: list structure for TCP (tp->tsorted_sent_queue)
+ *	@_sk_redir: socket redirection information for skmsg
  *	@_nfct: Associated connection, if any (with nfctinfo bits)
  *	@nf_bridge: Saved data about a bridged frame - see br_netfilter.c
  *	@skb_iif: ifindex of device we arrived on
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [Patch bpf-next] skmsg: add function doc for skb->_sk_redir
  2021-03-01 18:48 [Patch bpf-next] skmsg: add function doc for skb->_sk_redir Cong Wang
@ 2021-03-01 18:54 ` John Fastabend
  2021-03-02  9:44 ` Lorenz Bauer
  2021-03-04 15:40 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: John Fastabend @ 2021-03-01 18:54 UTC (permalink / raw)
  To: Cong Wang, netdev
  Cc: bpf, Cong Wang, Lorenz Bauer, Daniel Borkmann, John Fastabend,
	Jakub Sitnicki

Cong Wang wrote:
> From: Cong Wang <cong.wang@bytedance.com>
> 
> This should fix the following warning:
> 
> include/linux/skbuff.h:932: warning: Function parameter or member
> '_sk_redir' not described in 'sk_buff'
> 
> Reported-by: Lorenz Bauer <lmb@cloudflare.com>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: John Fastabend <john.fastabend@gmail.com>
> Cc: Jakub Sitnicki <jakub@cloudflare.com>
> Signed-off-by: Cong Wang <cong.wang@bytedance.com>
> ---
>  include/linux/skbuff.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
> index bd84f799c952..0503c917d773 100644
> --- a/include/linux/skbuff.h
> +++ b/include/linux/skbuff.h
> @@ -656,6 +656,7 @@ typedef unsigned char *sk_buff_data_t;
>   *	@protocol: Packet protocol from driver
>   *	@destructor: Destruct function
>   *	@tcp_tsorted_anchor: list structure for TCP (tp->tsorted_sent_queue)
> + *	@_sk_redir: socket redirection information for skmsg
>   *	@_nfct: Associated connection, if any (with nfctinfo bits)
>   *	@nf_bridge: Saved data about a bridged frame - see br_netfilter.c
>   *	@skb_iif: ifindex of device we arrived on
> -- 
> 2.25.1
> 

Acked-by: John Fastabend <john.fastabend@gmail.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch bpf-next] skmsg: add function doc for skb->_sk_redir
  2021-03-01 18:48 [Patch bpf-next] skmsg: add function doc for skb->_sk_redir Cong Wang
  2021-03-01 18:54 ` John Fastabend
@ 2021-03-02  9:44 ` Lorenz Bauer
  2021-03-04 15:40 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Lorenz Bauer @ 2021-03-02  9:44 UTC (permalink / raw)
  To: Cong Wang
  Cc: Networking, bpf, Cong Wang, Daniel Borkmann, John Fastabend,
	Jakub Sitnicki

On Mon, 1 Mar 2021 at 18:48, Cong Wang <xiyou.wangcong@gmail.com> wrote:
>
> From: Cong Wang <cong.wang@bytedance.com>
>
> This should fix the following warning:
>
> include/linux/skbuff.h:932: warning: Function parameter or member
> '_sk_redir' not described in 'sk_buff'

Thanks!

Acked-by: Lorenz Bauer <lmb@cloudflare.com>

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

www.cloudflare.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch bpf-next] skmsg: add function doc for skb->_sk_redir
  2021-03-01 18:48 [Patch bpf-next] skmsg: add function doc for skb->_sk_redir Cong Wang
  2021-03-01 18:54 ` John Fastabend
  2021-03-02  9:44 ` Lorenz Bauer
@ 2021-03-04 15:40 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-03-04 15:40 UTC (permalink / raw)
  To: Cong Wang; +Cc: netdev, bpf, cong.wang, lmb, daniel, john.fastabend, jakub

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Mon,  1 Mar 2021 10:48:05 -0800 you wrote:
> From: Cong Wang <cong.wang@bytedance.com>
> 
> This should fix the following warning:
> 
> include/linux/skbuff.h:932: warning: Function parameter or member
> '_sk_redir' not described in 'sk_buff'
> 
> [...]

Here is the summary with links:
  - [bpf-next] skmsg: add function doc for skb->_sk_redir
    https://git.kernel.org/bpf/bpf-next/c/6ed6e1c761f6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-04 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01 18:48 [Patch bpf-next] skmsg: add function doc for skb->_sk_redir Cong Wang
2021-03-01 18:54 ` John Fastabend
2021-03-02  9:44 ` Lorenz Bauer
2021-03-04 15:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).