[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080807143654.16955ngk5tnp5kzk@hayate.ip6>
Date: Thu, 07 Aug 2008 14:36:54 +0300
From: "Jussi Kivilinna" <jussi.kivilinna@...et.fi>
To: "Jarek Poplawski" <jarkao2@...il.com>
Cc: "David Miller" <davem@...emloft.net>, kaber@...sh.net,
netdev@...r.kernel.org
Subject: Re: qdisc_enqueue, NET_XMIT_SUCCESS and kfree_skb
Quoting "Jarek Poplawski" <jarkao2@...il.com>:
> There is also some doubt about differences between ->enqueue() and
> ->requeue() wrt. kfree_skb() and returning codes: maybe it would be
> better (for uniformity) to add similar changes to requeues (and
> dev_requeue_skb()) as well?
>
I think requeue should be changed to return same as enqueue, netem even
uses requeue as enqueue replacement for packet reordering. Maybe add
new function qdisc_requeue_tree to handle freeing and masking flags and
change outside uses of requeue to use it (qdisc_peek_len in hfsc,
sch_atm_dequeue, dev_requeue_skb).
- Jussi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists