diff mbox series

[3/3] net: core: dst: Add kernel-doc for 'net' parameter

Message ID 20180304022953.4508-3-j.neuschaefer@gmx.net
State Accepted, archived
Delegated to: David Miller
Headers show
Series [1/3] net: core: dst_cache: Fix a typo in a comment | expand

Commit Message

J. Neuschäfer March 4, 2018, 2:29 a.m. UTC
This fixes the following kernel-doc warning:

./include/net/dst.h:366: warning: Function parameter or member 'net' not described in 'skb_tunnel_rx'

Fixes: ea23192e8e57 ("tunnels: harmonize cleanup done on skb on rx path")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 include/net/dst.h | 1 +
 1 file changed, 1 insertion(+)

Comments

David Miller March 5, 2018, 5:53 p.m. UTC | #1
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Date: Sun,  4 Mar 2018 03:29:53 +0100

> This fixes the following kernel-doc warning:
> 
> ./include/net/dst.h:366: warning: Function parameter or member 'net' not described in 'skb_tunnel_rx'
> 
> Fixes: ea23192e8e57 ("tunnels: harmonize cleanup done on skb on rx path")
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>

Applied to net-next.
diff mbox series

Patch

diff --git a/include/net/dst.h b/include/net/dst.h
index c63d2c37f6e9..b3219cd8a5a1 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -356,6 +356,7 @@  static inline void __skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev,
  *	skb_tunnel_rx - prepare skb for rx reinsert
  *	@skb: buffer
  *	@dev: tunnel device
+ *	@net: netns for packet i/o
  *
  *	After decapsulation, packet is going to re-enter (netif_rx()) our stack,
  *	so make some cleanups, and perform accounting.