diff options
author | zhang kai <zhangkaiheb@126.com> | 2021-03-02 13:16:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-04 03:59:17 +0300 |
commit | a9ecb0cbf03746b17a7c13bd8e3464e6789f73e8 (patch) | |
tree | 5b1fb346b567f377b866538be9825ad618da4e57 /net/core/rtnetlink.c | |
parent | d65614a01d24704b016635abf5cc028a54e45a62 (diff) | |
download | linux-a9ecb0cbf03746b17a7c13bd8e3464e6789f73e8.tar.xz |
rtnetlink: using dev_base_seq from target net
Signed-off-by: zhang kai <zhangkaiheb@126.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 0edc0b2baaa4..1bdcb33fb561 100644 --- 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); |