Home
last modified time | relevance | path

Searched hist:"6 a9e9cea4c51dd7137f381710bb42e2ad6e7e285" (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Ddevinet.cdiff 6a9e9cea4c51dd7137f381710bb42e2ad6e7e285 Thu Jun 27 14:03:32 CEST 2019 Florian Westphal <fw@strlen.de> net: ipv4: fix infinite loop on secondary addr promotion

secondary address promotion causes infinite loop -- it arranges
for ifa->ifa_next to point back to itself.

Problem is that 'prev_prom' and 'last_prim' might point at the same entry,
so 'last_sec' pointer must be obtained after prev_prom->next update.

Fixes: 2638eb8b50cf ("net: ipv4: provide __rcu annotation for ifa_list")
Reported-by: Ran Rozenstein <ranro@mellanox.com>
Reported-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>