Skip to content

Commit

Permalink
net: change the comment of dev_mc_init
Browse files Browse the repository at this point in the history
The comment of dev_mc_init() is wrong. which use dev_mc_flush
instead of dev_mc_init.

Signed-off-by: Lianwen Sun <sunlw.fnst@cn.fujitsu.com
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
sunlianwen authored and David S. Miller committed Apr 19, 2018
1 parent 64e86fe commit bb9aaaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/dev_addr_lists.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ void dev_mc_flush(struct net_device *dev)
EXPORT_SYMBOL(dev_mc_flush);

/**
* dev_mc_flush - Init multicast address list
* dev_mc_init - Init multicast address list
* @dev: device
*
* Init multicast address list.
Expand Down

0 comments on commit bb9aaaa

Please sign in to comment.