Skip to content

Commit a93bdcb

Browse files
mchehabdavem330
authored andcommitted
net: core: document two new elements of struct net_device
As warned by "make htmldocs", there are two new struct elements that aren't documented: ../include/linux/netdevice.h:2159: warning: Function parameter or member 'unlink_list' not described in 'net_device' ../include/linux/netdevice.h:2159: warning: Function parameter or member 'nested_level' not described in 'net_device' Fixes: 1fc70ed ("net: core: add nested_level variable in net_device") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a95bc73 commit a93bdcb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

include/linux/netdevice.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,6 +1851,11 @@ enum netdev_priv_flags {
18511851
* @udp_tunnel_nic: UDP tunnel offload state
18521852
* @xdp_state: stores info on attached XDP BPF programs
18531853
*
1854+
* @nested_level: Used as as a parameter of spin_lock_nested() of
1855+
* dev->addr_list_lock.
1856+
* @unlink_list: As netif_addr_lock() can be called recursively,
1857+
* keep a list of interfaces to be deleted.
1858+
*
18541859
* FIXME: cleanup struct net_device such that network protocol info
18551860
* moves out.
18561861
*/

0 commit comments

Comments
 (0)