Re: Unlock nd6_ioctl(), push kernel lock into in6_ioctl_{get,change_ifaddr}()

2022-11-30 Thread Vitaliy Makkoveev
On Wed, Nov 30, 2022 at 12:24:32AM +, Klemens Nanni wrote: > On Wed, Nov 30, 2022 at 02:25:46AM +0300, Vitaliy Makkoveev wrote: > > I like to have current "error =" notation for both mrt6_ioctl() > > and in6_ioctl() within in6_control(). > > Alright. > > > Also, `data’ passed to

Re: Unlock nd6_ioctl(), push kernel lock into in6_ioctl_{get,change_ifaddr}()

2022-11-29 Thread Klemens Nanni
On Wed, Nov 30, 2022 at 02:25:46AM +0300, Vitaliy Makkoveev wrote: > I like to have current "error =" notation for both mrt6_ioctl() > and in6_ioctl() within in6_control(). Alright. > Also, `data’ passed to in6_ioctl_change_ifaddr() is the local > variable, kernel lock could be pushed deep down,