net: Add skb_queue_next().
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 07:44:42 +0000 (00:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 07:44:42 +0000 (00:44 -0700)
commit249c8b42c7e5e6f33d0ff983041f08278b137e53
treed7ea5f0e659833a719978d0f76f4db109e013f6d
parentd258b4914bcda9177bcc7bbd8e1a97b281b460af
net: Add skb_queue_next().

A lot of code wants to iterate over an SKB queue at the top level using
it's own control structure and iterator scheme.

Provide skb_queue_next(), which is only valid to invoke if
skb_queue_is_last() returns false.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h