summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunlianwen <sunlw.fnst@cn.fujitsu.com>2018-04-18 09:22:39 +0800
committerDavid S. Miller <davem@davemloft.net>2018-04-19 12:58:20 -0400
commitbb9aaaa1849eed763c6b7f20227a8a03300d4421 (patch)
tree99651e4de6f7826b1a007c6f30c1ae8cfca33d7c /net
parent64e86fec54069266ba32be551d7b7f75e88ab60c (diff)
downloadlinux-bb9aaaa1849eed763c6b7f20227a8a03300d4421.tar.bz2
net: change the comment of dev_mc_init
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>
Diffstat (limited to 'net')
-rw-r--r--net/core/dev_addr_lists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c
index e3e6a3e2ca22..d884d8f5f0e5 100644
--- a/net/core/dev_addr_lists.c
+++ b/net/core/dev_addr_lists.c
@@ -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.