> > Consider that "dev->slave" field does not exist more 8)
> > And restore it with correct name i.e. dev->master. 8)
> >
>
> Huh? If dev->slave goes, then why keep dev->master around? What use
> does it have then?
BTW I smiled 8)
No uses except for bonding. Those two lines in core/dev.c
will be added to kernel, even if you will not prepare bonding
to time.
if (dev->master)
skb->dev = skb->dev->master;
dev->slave is misnomer and it shall be removed.
dev->master is correct name and it will be added.
> And, if dev->slave goes, how does one keep track in the dev info field
> that it's a slave device, and not a master device?
It is pointer to master device, rather than a flag.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/