Skip to contentSkip to conversation

skmsg: add function doc for skb->_sk_redir

PATCH Applied Cong Wang 4 participants 4 messages Mar 1, 2021 – Mar 4, 2021

Subsystems (3)
lore
Share & tools
lore

Cong Wang

author
#0 lore raw

PATCH 1/1 skmsg: add function doc for skb->_sk_redir

From: Cong Wang <[email protected]>

This should fix the following warning:

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

Cc Daniel Borkmann <[email protected]>
Cc John Fastabend <[email protected]>
Cc Jakub Sitnicki <[email protected]>
---
 include/linux/skbuff.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/skbuff.h +1 -0
index bd84f799c952..0503c917d773 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 31 lines · Cong Wang

From: Cong Wang <[email protected]>

This should fix the following warning:

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

Cc Daniel Borkmann <[email protected]>
Cc John Fastabend <[email protected]>
Cc Jakub Sitnicki <[email protected]>
---
 include/linux/skbuff.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/skbuff.h +1 -0
index bd84f799c952..0503c917d773 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#2 lore raw
In reply to Cong Wang
Quoted 7 lines · Cong Wang

From: Cong Wang <[email protected]>

This should fix the following warning:

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

Thanks!

Signature · 4 lines
Lorenz Bauer  |  Systems Engineer
6th Floor, County Hall/The Riverside Building, SE1 7PB, UK

www.cloudflare.com
#3 lore raw
In reply to Cong Wang
This patch was applied to bpf/bpf-next.git (refs/heads/master):

Hello:

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

Quoted 8 lines · On Mon, 1 Mar 2021 10:48:05 -0800 you wrote:

From: Cong Wang <[email protected]>

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