- Subject: Re: [PATCH] skbuff: Add new tc classify variable
- From: jamal <hadi@xxxxxxxxxx>
- Date: Wed, 08 Feb 2012 09:48:41 -0500
- Cc: Simon Wunderlich <simon.wunderlich@xxxxxxxxxxxxxxxxxxxx>, David Miller <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>, Patrick McHardy <kaber@xxxxxxxxx>, Johannes Berg <johannes@xxxxxxxxxxxxxxxx>, "John W. Linville" <linville@xxxxxxxxxxxxx>, Marek Lindner <lindner_marek@xxxxxxxx>, Sven Eckelmann <sven@xxxxxxxxxxxxx>, netfilter-devel@xxxxxxxxxxxxxxx, netfilter@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx, linux-wireless@xxxxxxxxxxxxxxx
- In-reply-to: <1328692916.2284.5.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
- Reply-to: jhs@xxxxxxxxxxxx
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 netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Netfilter Development]
[Linux Kernel Networking Development]
[Linux Networking Development]
[Linux Kernel Development]
[Linux Resources]
[LARTC]
[Bugtraq]
[Consulting]
[Free Internet Dating]
[Yosemite Forum]
[Photo]