Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111792
b: refs/heads/master
c: d258b49
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Sep 23, 2008
1 parent 3e563a4 commit f0f889c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc7ebb212d3e51d1188948d975aa93dbb0f58b25
refs/heads/master: d258b4914bcda9177bcc7bbd8e1a97b281b460af
6 changes: 3 additions & 3 deletions trunk/include/net/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1284,10 +1284,10 @@ static inline void tcp_unlink_write_queue(struct sk_buff *skb, struct sock *sk)
__skb_unlink(skb, &sk->sk_write_queue);
}

static inline int tcp_skb_is_last(const struct sock *sk,
const struct sk_buff *skb)
static inline bool tcp_skb_is_last(const struct sock *sk,
const struct sk_buff *skb)
{
return skb->next == (struct sk_buff *)&sk->sk_write_queue;
return skb_queue_is_last(&sk->sk_write_queue, skb);
}

static inline int tcp_write_queue_empty(struct sock *sk)
Expand Down

0 comments on commit f0f889c

Please sign in to comment.