> > /* ensure 32-byte alignment of both the device and > private area */ > > - alloc_size = (sizeof(*dev) + NETDEV_ALIGN_CONST) & > ~NETDEV_ALIGN_CONST; > > + alloc_size = (sizeof(*dev) + NETDEV_ALIGN_CONST + > > + (sizeof(struct net_device_subqueue) * > (queue_count - 1))) & > > > Why queue_count - 1 ? It should be queue_count I think.
I'm not sure what went through my head, but I'll fix this. > Otherwise ACK for this patch except that it should also > contain the sch_generic changes. I misread your previous mail; I'll get the sch_generic.c changes into this patch. Thanks Patrick, -PJ - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html