diff options
Diffstat (limited to 'net/dccp/packet_history.c')
-rw-r--r-- | net/dccp/packet_history.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/dccp/packet_history.c b/net/dccp/packet_history.c index 6b414898f0c4..2d9ef5ae0bf6 100644 --- a/net/dccp/packet_history.c +++ b/net/dccp/packet_history.c | |||
@@ -55,7 +55,7 @@ struct dccp_rx_hist *dccp_rx_hist_new(const char *name) | |||
55 | 55 | ||
56 | sprintf(slab_name, dccp_rx_hist_mask, name); | 56 | sprintf(slab_name, dccp_rx_hist_mask, name); |
57 | hist->dccprxh_slab = kmem_cache_create(slab_name, | 57 | hist->dccprxh_slab = kmem_cache_create(slab_name, |
58 | sizeof(struct dccp_rx_hist_entry), | 58 | sizeof(struct dccp_rx_hist_entry), |
59 | 0, SLAB_HWCACHE_ALIGN, | 59 | 0, SLAB_HWCACHE_ALIGN, |
60 | NULL, NULL); | 60 | NULL, NULL); |
61 | if (hist->dccprxh_slab == NULL) | 61 | if (hist->dccprxh_slab == NULL) |
@@ -128,7 +128,7 @@ struct dccp_tx_hist *dccp_tx_hist_new(const char *name) | |||
128 | 128 | ||
129 | sprintf(slab_name, dccp_tx_hist_mask, name); | 129 | sprintf(slab_name, dccp_tx_hist_mask, name); |
130 | hist->dccptxh_slab = kmem_cache_create(slab_name, | 130 | hist->dccptxh_slab = kmem_cache_create(slab_name, |
131 | sizeof(struct dccp_tx_hist_entry), | 131 | sizeof(struct dccp_tx_hist_entry), |
132 | 0, SLAB_HWCACHE_ALIGN, | 132 | 0, SLAB_HWCACHE_ALIGN, |
133 | NULL, NULL); | 133 | NULL, NULL); |
134 | if (hist->dccptxh_slab == NULL) | 134 | if (hist->dccptxh_slab == NULL) |
@@ -156,8 +156,8 @@ void dccp_tx_hist_delete(struct dccp_tx_hist *hist) | |||
156 | 156 | ||
157 | EXPORT_SYMBOL_GPL(dccp_tx_hist_delete); | 157 | EXPORT_SYMBOL_GPL(dccp_tx_hist_delete); |
158 | 158 | ||
159 | struct dccp_tx_hist_entry *dccp_tx_hist_find_entry(const struct list_head *list, | 159 | struct dccp_tx_hist_entry * |
160 | const u64 seq) | 160 | dccp_tx_hist_find_entry(const struct list_head *list, const u64 seq) |
161 | { | 161 | { |
162 | struct dccp_tx_hist_entry *packet = NULL, *entry; | 162 | struct dccp_tx_hist_entry *packet = NULL, *entry; |
163 | 163 | ||
@@ -172,7 +172,8 @@ struct dccp_tx_hist_entry *dccp_tx_hist_find_entry(const struct list_head *list, | |||
172 | 172 | ||
173 | EXPORT_SYMBOL_GPL(dccp_tx_hist_find_entry); | 173 | EXPORT_SYMBOL_GPL(dccp_tx_hist_find_entry); |
174 | 174 | ||
175 | void dccp_tx_hist_purge_older(struct dccp_tx_hist *hist, struct list_head *list, | 175 | void dccp_tx_hist_purge_older(struct dccp_tx_hist *hist, |
176 | struct list_head *list, | ||
176 | struct dccp_tx_hist_entry *packet) | 177 | struct dccp_tx_hist_entry *packet) |
177 | { | 178 | { |
178 | struct dccp_tx_hist_entry *next; | 179 | struct dccp_tx_hist_entry *next; |