On Thu, May 20, 2021 at 10:12 PM Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> wrote: > It doesn't matter. Instead of having an endless loop, please add a > counter and limit the number of iterations to some reasonable number. > That's all, no one is asking you to do something impossible, just > prevent looping forever in some unforeseen situations and just fail > the test instead. Well, in a non-hostile environment, the packet will not be dropped as it is sent via a loopback, hence the loop is not endless. "my memcg kicks in for some unknown reason" is pretty much a hostile environment, for which we should not consider. The counter argument is simply not to run selftests in such a hostile environment. Thanks.