1
0
Fork 0

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>
rM2-mainline
zhang kai 2021-03-02 18:16:07 +08:00 committed by David S. Miller
parent d65614a01d
commit a9ecb0cbf0
1 changed files with 1 additions and 1 deletions

View File

@ -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);