Skip to contentSkip to conversation

net: Correct the comment of dst_dev_put()

PATCH Applied Miaohe Lin 2 participants 2 messages Sep 10, 2020

Subsystems (2)
lore
Share & tools
lore

Miaohe Lin

author
#0 lore raw

PATCH v2 1/1 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.

---
 net/core/dst.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dst.c +1 -1
index d6b6ced0d451..0c01bd8d9d81 100644
@@ -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
Signature · 1 line
2.19.1
maintainer Applied
#1 lore raw

From: Miaohe Lin <[email protected]>
Date: Thu, 10 Sep 2020 04:41:53 -0400

Quoted 5 lines

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.

Applied, thanks.