diff options
author | 2024-02-15 17:21:07 +0000 | |
---|---|---|
committer | 2024-02-18 10:22:27 +0000 | |
commit | e898e4cd1aab271ca414f9ac6e08e4c761f6913c (patch) | |
tree | da47f3451a95addb074c6cda6cd0ee72d71d5383 /net/unix/af_unix.c | |
parent | ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid (diff) | |
download | wireguard-linux-e898e4cd1aab271ca414f9ac6e08e4c761f6913c.tar.xz wireguard-linux-e898e4cd1aab271ca414f9ac6e08e4c761f6913c.zip |
ipv6: properly combine dev_base_seq and ipv6.dev_addr_genid
net->dev_base_seq and ipv6.dev_addr_genid are monotonically increasing.
If we XOR their values, we could miss to detect if both values
were changed with the same amount.
Fixes: 63998ac24f83 ("ipv6: provide addr and netconf dump consistency info")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions