On Thu, 2008-08-28 at 14:47 -0400, Sebastien Roy wrote:
> > Right.  ipnet_create_if() needs to allocate its minors from the same space
> > as ipnet_open(), rather than by using the ifindex, and then form the
> > if_dev using that allocated minor rather than the ifindex.
> > 
> > On a related note, seems like there should be an ipnet_if_getdev()
> > function which just returns a if_dev to sdev_ipnetops.c, so that
> > sdev_ipnetops doesn't need to have any knowledge about the guts of the
> > ipnetif_t or its locking/access rules.
> 
> Agreed.  I'll tackle these two issues simultaneously and have some code
> for John to re-test shortly.

Well, I'll tackle the first now, and we can address the second later.
I'm already pulling in a dozen or more netstack_t leaks while I'm in
there.  Here's what I have, I'll be ready for testing after I eat some
dinner.

http://zhadum.east/ws/seb/seb-ipobs/webrev/

-Seb



Reply via email to