Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111791
b: refs/heads/master
c: fc7ebb2
h: refs/heads/master
i:
  111789: 710c3ea
  111787: 8543e39
  111783: 72a0544
  111775: d1e9b4e
v: v3
  • Loading branch information
David S. Miller committed Sep 23, 2008
1 parent 76c35c0 commit 3e563a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5f61ab96dd093c5190c1540fed14f71ed821ce7
refs/heads/master: fc7ebb212d3e51d1188948d975aa93dbb0f58b25
13 changes: 13 additions & 0 deletions trunk/include/linux/skbuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,19 @@ static inline int skb_queue_empty(const struct sk_buff_head *list)
return list->next == (struct sk_buff *)list;
}

/**
* skb_queue_is_last - check if skb is the last entry in the queue
* @list: queue head
* @skb: buffer
*
* Returns true if @skb is the last buffer on the list.
*/
static inline bool skb_queue_is_last(const struct sk_buff_head *list,
const struct sk_buff *skb)
{
return (skb->next == (struct sk_buff *) list);
}

/**
* skb_get - reference buffer
* @skb: buffer to reference
Expand Down

0 comments on commit 3e563a4

Please sign in to comment.