diff mbox series

[nf-next] netfilter: Document ingress hook

Message ID 348a3eb1c4348391e1836d858f24bd118934703f.1574247360.git.lukas@wunner.de
State Accepted
Delegated to: Pablo Neira
Headers show
Series [nf-next] netfilter: Document ingress hook | expand

Commit Message

Lukas Wunner Nov. 20, 2019, 11:33 a.m. UTC
Amend kerneldoc of struct net_device to fix a "make htmldocs" warning:

include/linux/netdevice.h:2045: warning: Function parameter or member 'nf_hooks_ingress' not described in 'net_device'

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Daniel Borkmann <daniel@iogearbox.net>
---
Resending this patch without RFC tag on Pablo's request since it's just
an uncontroversial cleanup.

Previous submission:
https://lore.kernel.org/netfilter-devel/442372563baf1a33ff48f8993be069960a7aea52.1572528496.git.lukas@wunner.de/

 include/linux/netdevice.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Pablo Neira Ayuso Dec. 17, 2019, 9:59 p.m. UTC | #1
On Wed, Nov 20, 2019 at 12:33:59PM +0100, Lukas Wunner wrote:
> Amend kerneldoc of struct net_device to fix a "make htmldocs" warning:
> 
> include/linux/netdevice.h:2045: warning: Function parameter or member 'nf_hooks_ingress' not described in 'net_device'

Also applied, thanks.
diff mbox series

Patch

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 9e6fb8524d91..4b2f40f3a588 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1703,6 +1703,7 @@  enum netdev_priv_flags {
  *	@miniq_ingress:		ingress/clsact qdisc specific data for
  *				ingress processing
  *	@ingress_queue:		XXX: need comments on this one
+ *	@nf_hooks_ingress:	netfilter hooks executed for ingress packets
  *	@broadcast:		hw bcast address
  *
  *	@rx_cpu_rmap:	CPU reverse-mapping for RX completion interrupts,