Hi Jamal,

I'm trying to convert tc_index to a u16, which looks OK in all places
but sched_gred. I can't make sense of this code:

        /* fix tc_index? --could be controvesial but needed for
           requeueing */
        skb->tc_index=(skb->tc_index&0xfffffff0) | t->def;

Why is a mask of 0xfffffff0 used? It shouldn't be larger than 0xffff
anyway.

Thanks
Patrick
-
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

Reply via email to