summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-04-14 07:05:09 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-04-14 07:05:09 (GMT)
commit7de6c033367ab86f39c7723392caf73325cbf286 (patch)
treee05d84e6e02b7a0245bfa62e02835882ffdffa48 /include/net
parentbf299275882624b1908521ee8074df85160e9679 (diff)
downloadlinux-7de6c033367ab86f39c7723392caf73325cbf286.tar.xz
[SKB]: __skb_append = __skb_queue_after
This expresses __skb_append in terms of __skb_queue_after, exploiting that __skb_append(old, new, list) = __skb_queue_after(list, old, new). Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 58d8282..2ab350e 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1247,7 +1247,7 @@ static inline void tcp_insert_write_queue_after(struct sk_buff *skb,
struct sk_buff *buff,
struct sock *sk)
{
- __skb_append(skb, buff, &sk->sk_write_queue);
+ __skb_queue_after(&sk->sk_write_queue, skb, buff);
}
/* Insert skb between prev and next on the write queue of sk. */