diff options
author | David S. Miller <davem@davemloft.net> | 2019-06-27 19:54:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-27 19:54:35 +0300 |
commit | 582737f9904c6e84b7db2d417b2bf244374719e1 (patch) | |
tree | 485cac7117ac0bb3dd6713baaedaa37f5d7a7094 /net/smc/af_smc.c | |
parent | 5b9469a285ebc85af29736a6d9fa995aea0dbf0b (diff) | |
parent | bb2bd090854cc608d4d8a4d14955eb13dffa94ab (diff) | |
download | linux-582737f9904c6e84b7db2d417b2bf244374719e1.tar.xz |
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 <davem@davemloft.net>
Diffstat (limited to 'net/smc/af_smc.c')
0 files changed, 0 insertions, 0 deletions