skb->cb is the right scratch pad to use. The problem appears to be the wireless stack abusing some of these fields (prio for one). And we do have marks in place already which are 32 bit and global. cheers, jamal On Wed, 2012-02-08 at 10:21 +0100, Eric Dumazet wrote: > Le mardi 07 février 2012 à 21:16 +0100, Simon Wunderlich a écrit : > > I really dont understand what the conflict might be. > > As long as skb is in Qdisc layer, Qdisc owns skb->cb[] (a part of it > actually, see current discussions about IB on netdev) > > As soon as packet is given to device (mac80211), cb[] can be reused. > > Or are you saying tc_class also might be needed by mac80211 in the > future ? > > > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html