Re: ::1/128 and 127.0.0.1 address creation ownership

2023-05-22 Thread Olivier Cochard-Labbé
On Mon, May 22, 2023 at 12:53 PM Alexander Chernikov wrote: > > My main question here is the desired ownership model. I don’t have a > strong opinion on whether the userland of the kernel should own loopback > creation. > However, I think that: > 1) the behaviour should be consistent (either both

::1/128 and 127.0.0.1 address creation ownership

2023-05-22 Thread Alexander Chernikov
Hi, The current model of assigning default lo0 addresses is, well, interesting. The ownership for creating 127.0.0.1 belongs to the rc.d (network.subr:ifn_start() -> ipv4_up()). It is executed at the system start or jail start (explicitly by running /etc/rc). The ownership for creating ::1 bel