Commit 1be107de authored by Miaohe Lin's avatar Miaohe Lin Committed by David S. Miller

net: Correct the comment of dst_dev_put()

Since commit 8d7017fd ("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: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 66d42ed8
...@@ -144,7 +144,7 @@ static void dst_destroy_rcu(struct rcu_head *head) ...@@ -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 /* Operations to mark dst as DEAD and clean up the net device referenced
* by dst: * 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. * on this route.
* 2. release the net_device * 2. release the net_device
* This function should be called when removing routes from the fib tree * This function should be called when removing routes from the fib tree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment