Re: if_up() & recursive ioctl

2018-02-09 Thread Martin Pieuchot
On 09/02/18(Fri) 09:00, Martin Pieuchot wrote: > Diff below removes if_up() calls from pseudo-driver ioctl(2) path. > Setting IFF_UP is enough for ifioctl() to generate a RTM_INFO for us. > > I tested lo0 because that's what claudio@ need for an upcoming diff. > > I appreciate more tests & oks.

if_up() & recursive ioctl

2018-02-09 Thread Martin Pieuchot
Diff below removes if_up() calls from pseudo-driver ioctl(2) path. Setting IFF_UP is enough for ifioctl() to generate a RTM_INFO for us. I tested lo0 because that's what claudio@ need for an upcoming diff. I appreciate more tests & oks. Index: net/if_gif.c ===