[SKB]: __skb_dequeue = skb_peek + __skb_unlink
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 14 Apr 2008 07:04:12 +0000 (00:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 07:04:12 +0000 (00:04 -0700)
commitf525c06d12b72cddb085df7f6f348c3c5a39b3ce
treeb2b919ff924d0feb3c8cb1b565a001949ec92270
parent0912ea38de61378c5c753aef78c12e2f95854313
[SKB]: __skb_dequeue = skb_peek + __skb_unlink

By rearranging the order of declarations, __skb_dequeue() is expressed in terms of

 * skb_peek() and
 * __skb_unlink(),

thus in effect mirroring the analogue implementation of __skb_dequeue_tail().

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h