OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65614a
)
rtnetlink: using dev_base_seq from target net
author
zhang kai
<zhangkaiheb@126.com>
Tue, 2 Mar 2021 10:16:07 +0000
(18:16 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 4 Mar 2021 00:59:17 +0000
(16:59 -0800)
Signed-off-by: zhang kai <zhangkaiheb@126.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c
patch
|
blob
|
history
diff --git
a/net/core/rtnetlink.c
b/net/core/rtnetlink.c
index
0edc0b2
..
1bdcb33
100644
(file)
--- a/
net/core/rtnetlink.c
+++ b/
net/core/rtnetlink.c
@@
-2147,7
+2147,7
@@
out:
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);