aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-12-08 12:08:08 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:57:03 -0500
commit78282d2af598a1840934e2049a5c196885647f6a (patch)
tree19f2a626bc2a8741b3740a44ccaa9f0e02e21d34 /net/dccp
parentc69bce20dda7f79160856a338298d65a284ba303 (diff)
[TFRC]: Move comment.
Moved up the comment "Receiver routines" above the first occurrence of RX history routines. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ccids/lib/packet_history.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/dccp/ccids/lib/packet_history.c b/net/dccp/ccids/lib/packet_history.c
index 4eddb2da8334..54cd23e7c27e 100644
--- a/net/dccp/ccids/lib/packet_history.c
+++ b/net/dccp/ccids/lib/packet_history.c
@@ -114,6 +114,11 @@ u32 tfrc_tx_hist_rtt(struct tfrc_tx_hist_entry *head, const u64 seqno,
114EXPORT_SYMBOL_GPL(tfrc_tx_hist_rtt); 114EXPORT_SYMBOL_GPL(tfrc_tx_hist_rtt);
115 115
116 116
117/*
118 * Receiver History Routines
119 */
120static struct kmem_cache *tfrc_rx_hist_slab;
121
117/** 122/**
118 * tfrc_rx_hist_index - index to reach n-th entry after loss_start 123 * tfrc_rx_hist_index - index to reach n-th entry after loss_start
119 */ 124 */
@@ -131,11 +136,6 @@ static inline struct tfrc_rx_hist_entry *
131 return h->ring[tfrc_rx_hist_index(h, h->loss_count)]; 136 return h->ring[tfrc_rx_hist_index(h, h->loss_count)];
132} 137}
133 138
134/*
135 * Receiver History Routines
136 */
137static struct kmem_cache *tfrc_rx_hist_slab;
138
139void tfrc_rx_hist_add_packet(struct tfrc_rx_hist *h, 139void tfrc_rx_hist_add_packet(struct tfrc_rx_hist *h,
140 const struct sk_buff *skb, 140 const struct sk_buff *skb,
141 const u32 ndp) 141 const u32 ndp)