lkml.org 
[lkml]   [2018]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/3] net: core: dst: Add kernel-doc for 'net' parameter
    Date
    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(+)

    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.
    --
    2.16.1
    \
     
     \ /
      Last update: 2018-03-04 03:30    [W:3.009 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site