Home
last modified time | relevance | path

Searched hist:"081 a0e3b0d4c061419d3f4679dec9f68725b17e4" (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Ddevinet.cdiff 081a0e3b0d4c061419d3f4679dec9f68725b17e4 Thu Feb 15 18:21:06 CET 2024 Eric Dumazet <edumazet@google.com> 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>