aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
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)