> I would like to take this chance to simplify the setup. > > Does it need a veth pair? The %s2 interface is not used. > > Can it be done in lo alone? I will look into this for the next spin of the patch series. > Also, all this setup (and test) has to be done in a new netns. Anything blocking > the kfunc in patch 2 using the current task netns instead of the init_net? This should be doable. > Add nodad to the "ip -6 addr add...". just in case it may add unnecessary delay. > This interface/address ping should not be needed. Other tests under prog_tests/ > don't need this interface/address ping also. Ack. > Can the test_sock_addr.{c,sh} be retired after this patch? I know it's not used in the BPF CI tests, but is it still used in any other contexts? - Jordan