[LTP] [RFC PATCH 1/2] tst_net.sh: Fix for disabled IPv6

Petr Vorel pvorel@suse.cz
Mon Jan 24 16:19:08 CET 2022


Hi Martin,

> tst_net_detect_ipv6() should probably run each check only once and cache
> the result. The function is called multiple times and tst_rhost_run()
> could be quite slow if the remote side is on a different physical machine.
You're right, ssh result needs to be cached. Thanks for a review!

Kind regards,
Petr


More information about the ltp mailing list