diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-15 17:21:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-18 10:22:27 +0000 |
commit | 081a0e3b0d4c061419d3f4679dec9f68725b17e4 (patch) | |
tree | f17704eaff8487f821301435f259bc835454b8bc /net/unix/af_unix.c | |
parent | 97dde84026339e4b4af9a6301f825d1828d7874b (diff) |
ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid
net->dev_base_seq and ipv4.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: 0465277f6b3f ("ipv4: provide addr and netconf dump consistency info")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Nicolas Dichtel <nicolas.dichtel@6wind.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