mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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>
This commit is contained in:
parent
d65614a01d
commit
a9ecb0cbf0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user