summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-09-10 11:41:53 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-10 23:28:57 +0300
commit1be107de2ee4b3f0808e2071529364cf4d9a67b9 (patch)
tree16e4c44647cc339ee43d34c327d50013d0cdd429 /net/core
parent66d42ed8b25b64eb63111a2b8582c5afc8bf1105 (diff)
downloadlinux-1be107de2ee4b3f0808e2071529364cf4d9a67b9.tar.xz
net: Correct the comment of dst_dev_put()
Since commit 8d7017fd621d ("blackhole_netdev: use blackhole_netdev to invalidate dst entries"), we use blackhole_netdev to invalidate dst entries instead of loopback device anymore. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dst.c b/net/core/dst.c
index d6b6ced0d451..0c01bd8d9d81 100644
--- a/net/core/dst.c
+++ b/net/core/dst.c
@@ -144,7 +144,7 @@ static void dst_destroy_rcu(struct rcu_head *head)
/* Operations to mark dst as DEAD and clean up the net device referenced
* by dst:
- * 1. put the dst under loopback interface and discard all tx/rx packets
+ * 1. put the dst under blackhole interface and discard all tx/rx packets
* on this route.
* 2. release the net_device
* This function should be called when removing routes from the fib tree