[IPV4]: Fix theoretical loop on SMP in ip_evictor().
Snapshot the amount of work to do, and just do it.
In this way we avoid a theoretical loop whereby
one cpu sits in ip_evictor() tossing fragments
while another keeps adding a fragment just as we
bring ip_frag_mem down below the low threshold.
Signed-off-by: David S. Miller <davem@redhat.com>
Showing
Please register or sign in to comment