net: Add skb_queue_is_last().
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 07:34:07 +0000 (00:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 07:34:07 +0000 (00:34 -0700)
commitfc7ebb212d3e51d1188948d975aa93dbb0f58b25
treeb4b0c1922e1128626b02482636c767392866b581
parentb5f61ab96dd093c5190c1540fed14f71ed821ce7
net: Add skb_queue_is_last().

Several bits of code want to know "is this the last SKB in
a queue", and all of them implement this by hand.

Provide an common interface to make this check.

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