On Sat, 2016-06-04 at 21:03 +0200, Florian Westphal wrote: > Is skb still valid here? AFAICS its possible that fq_codel_drop() drops it. > > Other than that this looks good, thanks Eric!
You are are right. skb is guaranteed to be valid only when we return NET_XMIT_SUCCESS. I'll send a V2, thanks !