* [PATCH] rtnetlink: using dev_base_seq from target net
@ 2021-03-02 10:16 zhang kai
2021-03-04 1:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: zhang kai @ 2021-03-02 10:16 UTC (permalink / raw)
To: davem, kuba, drt, sukadev, netdev; +Cc: zhang kai
Signed-off-by: zhang kai <zhangkaiheb@126.com>
---
net/core/rtnetlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 0edc0b2ba..1bdcb33fb 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -2147,7 +2147,7 @@ static int rtnl_dump_ifinfo(struct sk_buff *skb, struct netlink_callback *cb)
out_err:
cb->args[1] = idx;
cb->args[0] = h;
- cb->seq = net->dev_base_seq;
+ cb->seq = tgt_net->dev_base_seq;
nl_dump_check_consistent(cb, nlmsg_hdr(skb));
if (netnsid >= 0)
put_net(tgt_net);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rtnetlink: using dev_base_seq from target net
2021-03-02 10:16 [PATCH] rtnetlink: using dev_base_seq from target net zhang kai
@ 2021-03-04 1:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-03-04 1:10 UTC (permalink / raw)
To: zhang kai; +Cc: davem, kuba, drt, sukadev, netdev
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 2 Mar 2021 18:16:07 +0800 you wrote:
> Signed-off-by: zhang kai <zhangkaiheb@126.com>
> ---
> net/core/rtnetlink.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- rtnetlink: using dev_base_seq from target net
https://git.kernel.org/netdev/net/c/a9ecb0cbf037
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] 2+ messages in thread
end of thread, other threads:[~2021-03-04 1:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02 10:16 [PATCH] rtnetlink: using dev_base_seq from target net zhang kai
2021-03-04 1:10 ` patchwork-bot+netdevbpf
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.