From: David S. Miller Date: Thu, 27 Jun 2019 16:54:35 +0000 (-0700) Subject: Merge branch 'net-ipv4-fix-circular-list-infinite-loop' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=582737f9904c6e84b7db2d417b2bf244374719e1;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'net-ipv4-fix-circular-list-infinite-loop' Florian Westphal says: ==================== net: ipv4: fix circular-list infinite loop Tariq and Ran reported a regression caused by net-next commit 2638eb8b50cf ("net: ipv4: provide __rcu annotation for ifa_list"). This happens when net.ipv4.conf.$dev.promote_secondaries sysctl is enabled -- we can arrange for ifa->next to point at ifa, so next process that tries to walk the list loops forever. Fix this and extend rtnetlink.sh with a small test case for this. ==================== Signed-off-by: David S. Miller --- 582737f9904c6e84b7db2d417b2bf244374719e1