On Wed, Jul 20, 2022 at 10:56:29AM +0200, Claudio Jeker wrote: > This diff moves kroute_insert to use struct kroute_full and do the > allocation for struct kroute / kroute6 inside kroute_insert. This removes > a lot of similar code all over kroute.c. While doing that also convert > kr_redistribute() to use struct kroute_full and kill the code duplication > there as well. > > A lot more to clean up but that seems like a resonable step right now.
This diff is not ready yet. I missed that kr/kr6 are used after send_rtmsg(). Need to fix that first. -- :wq Claudio