* [PATCH v2] net: Correct the comment of dst_dev_put()
@ 2020-09-10 8:41 Miaohe Lin
2020-09-10 20:29 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Miaohe Lin @ 2020-09-10 8:41 UTC (permalink / raw)
To: davem, steffen.klassert, willemb, mstarovoitov, kuba,
mchehab+huawei, antoine.tenart, edumazet, Jason
Cc: netdev, linux-kernel, linmiaohe
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>
---
net/core/dst.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] net: Correct the comment of dst_dev_put()
2020-09-10 8:41 [PATCH v2] net: Correct the comment of dst_dev_put() Miaohe Lin
@ 2020-09-10 20:29 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-09-10 20:29 UTC (permalink / raw)
To: linmiaohe
Cc: steffen.klassert, willemb, mstarovoitov, kuba, mchehab+huawei,
antoine.tenart, edumazet, Jason, netdev, linux-kernel
From: Miaohe Lin <linmiaohe@huawei.com>
Date: Thu, 10 Sep 2020 04:41:53 -0400
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-10 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 8:41 [PATCH v2] net: Correct the comment of dst_dev_put() Miaohe Lin
2020-09-10 20:29 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.