* [PATCHv2 net-next] dn_route: set rt neigh to blackhole_netdev instead of loopback_dev in ifdown
@ 2022-05-17 1:30 Xin Long
2022-05-18 1:04 ` Jakub Kicinski
2022-05-18 1:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Xin Long @ 2022-05-17 1:30 UTC (permalink / raw)
To: network dev; +Cc: davem, kuba, Eric Dumazet
Like other places in ipv4/6 dst ifdown, change to use blackhole_netdev
instead of pernet loopback_dev in dn dst ifdown.
v1->v2:
- remove the improper fixes tag as Eric noticed.
- aim at net-next.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
---
net/decnet/dn_route.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index d1d78a463a06..552a53f1d5d0 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -159,7 +159,7 @@ static void dn_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how
struct neighbour *n = rt->n;
if (n && n->dev == dev) {
- n->dev = dev_net(dev)->loopback_dev;
+ n->dev = blackhole_netdev;
dev_hold(n->dev);
dev_put(dev);
}
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCHv2 net-next] dn_route: set rt neigh to blackhole_netdev instead of loopback_dev in ifdown
2022-05-17 1:30 [PATCHv2 net-next] dn_route: set rt neigh to blackhole_netdev instead of loopback_dev in ifdown Xin Long
@ 2022-05-18 1:04 ` Jakub Kicinski
2022-05-18 1:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2022-05-18 1:04 UTC (permalink / raw)
To: Xin Long; +Cc: network dev, davem, Eric Dumazet
On Mon, 16 May 2022 21:30:29 -0400 Xin Long wrote:
> Like other places in ipv4/6 dst ifdown, change to use blackhole_netdev
> instead of pernet loopback_dev in dn dst ifdown.
>
> v1->v2:
> - remove the improper fixes tag as Eric noticed.
> - aim at net-next.
nit for future patches - now that we add links to the posting when
applying you can put the changelog under the --- delimiter.
> Signed-off-by: Xin Long <lucien.xin@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCHv2 net-next] dn_route: set rt neigh to blackhole_netdev instead of loopback_dev in ifdown
2022-05-17 1:30 [PATCHv2 net-next] dn_route: set rt neigh to blackhole_netdev instead of loopback_dev in ifdown Xin Long
2022-05-18 1:04 ` Jakub Kicinski
@ 2022-05-18 1:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-05-18 1:10 UTC (permalink / raw)
To: Xin Long; +Cc: netdev, davem, kuba, edumazet
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 16 May 2022 21:30:29 -0400 you wrote:
> Like other places in ipv4/6 dst ifdown, change to use blackhole_netdev
> instead of pernet loopback_dev in dn dst ifdown.
>
> v1->v2:
> - remove the improper fixes tag as Eric noticed.
> - aim at net-next.
>
> [...]
Here is the summary with links:
- [PATCHv2,net-next] dn_route: set rt neigh to blackhole_netdev instead of loopback_dev in ifdown
https://git.kernel.org/netdev/net-next/c/9cc341286e99
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-18 1:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-17 1:30 [PATCHv2 net-next] dn_route: set rt neigh to blackhole_netdev instead of loopback_dev in ifdown Xin Long
2022-05-18 1:04 ` Jakub Kicinski
2022-05-18 1:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).