Re: Tidy up in6_select*

2016-11-08 Thread Ryota Ozaki
On Mon, Nov 7, 2016 at 9:55 PM, Ryota Ozaki wrote: > On Mon, Nov 7, 2016 at 7:12 PM, Roy Marples wrote: >> On 07/11/2016 07:30, Ryota Ozaki wrote: >>> I propose tidy-up of in6_select* functions, esp. >>> selectroute. >> >> ... >> >>> The patch is here: >>> http://www.netbsd.org/~ozaki-r/tidyup-

Re: Tidy up in6_select*

2016-11-07 Thread Ryota Ozaki
On Mon, Nov 7, 2016 at 7:12 PM, Roy Marples wrote: > On 07/11/2016 07:30, Ryota Ozaki wrote: >> I propose tidy-up of in6_select* functions, esp. >> selectroute. > > ... > >> The patch is here: >> http://www.netbsd.org/~ozaki-r/tidyup-in6_select.diff >> >> Tests added recently ensure there is no

Re: Tidy up in6_select*

2016-11-07 Thread Roy Marples
On 07/11/2016 07:30, Ryota Ozaki wrote: > I propose tidy-up of in6_select* functions, esp. > selectroute. ... > The patch is here: > http://www.netbsd.org/~ozaki-r/tidyup-in6_select.diff > > Tests added recently ensure there is no regression > in basic cases, but I cannot say that it breaks >

Tidy up in6_select*

2016-11-06 Thread Ryota Ozaki
Hi, I propose tidy-up of in6_select* functions, esp. selectroute. selectroute is annoying because: - It returns both/either of a rtentry and/or an ifp - Yes, it may return only an ifp! - It is valid but selectroute shouldn't handle the case - Such conditional behavior makes it difficult