Propose a new stage `vnet_shutdown` before `vnet_destroy`

2022-12-18 Thread Zhenlei Huang
Hi, I'm currently working on route nexthop caching feature for tunneling interfaces such as if_gif, if_gre, if_vxlan, and potentially if_wg. I encounter a nasty bug related to VNET lifecycle. More preciously I'd like to call `rib_unsubscribe()` to unsubscribe route event when the interface tunn

Re: What's going on with vnets and epairs w/ addresses?

2022-12-18 Thread Bjoern A. Zeeb
On Sun, 18 Dec 2022, Zhenlei Huang wrote: On Dec 18, 2022, at 3:23 AM, Bjoern A. Zeeb wrote: On Sat, 17 Dec 2022, Gleb Smirnoff wrote: Zhenlei, On Fri, Dec 16, 2022 at 06:30:57PM +0800, Zhenlei Huang wrote: Z> I managed to repeat this issue on CURRENT/14 with this small snip: Z> Z> --

Re: What's going on with vnets and epairs w/ addresses?

2022-12-18 Thread Kyle Evans
On Sat, Dec 17, 2022 at 11:22 AM Gleb Smirnoff wrote: > > Zhenlei, > > On Fri, Dec 16, 2022 at 06:30:57PM +0800, Zhenlei Huang wrote: > Z> I managed to repeat this issue on CURRENT/14 with this small snip: > Z> > Z> --- > Z> #!/bin/sh > Z> > Z> # test jail

Re: Propose a new stage `vnet_shutdown` before `vnet_destroy`

2022-12-18 Thread James Gritton
On 2022-12-18 00:01, Zhenlei Huang wrote: I'm currently working on route nexthop caching feature for tunneling interfaces such as if_gif, if_gre, if_vxlan, and potentially if_wg. I encounter a nasty bug related to VNET lifecycle. More preciously I'd like to call `rib_unsubscribe()` to unsubscribe