net: change the comment of dev_mc_init
authorsunlianwen <sunlw.fnst@cn.fujitsu.com>
Wed, 18 Apr 2018 01:22:39 +0000 (09:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 16:58:20 +0000 (12:58 -0400)
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>
net/core/dev_addr_lists.c

index e3e6a3e2ca22a6ee634894e897b089773c820a9c..d884d8f5f0e54328ef46fe94715703287fb93aba 100644 (file)
@@ -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.