aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/gen_estimator.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/gen_estimator.c')
-rw-r--r--net/core/gen_estimator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/gen_estimator.c b/net/core/gen_estimator.c
index 3cad026764f..17daf4c9f79 100644
--- a/net/core/gen_estimator.c
+++ b/net/core/gen_estimator.c
@@ -144,7 +144,7 @@ static void est_timer(unsigned long arg)
144 * configuration TLV is created. Upon each interval, the latest statistics 144 * configuration TLV is created. Upon each interval, the latest statistics
145 * will be read from &bstats and the estimated rate will be stored in 145 * will be read from &bstats and the estimated rate will be stored in
146 * &rate_est with the statistics lock grabed during this period. 146 * &rate_est with the statistics lock grabed during this period.
147 * 147 *
148 * Returns 0 on success or a negative error code. 148 * Returns 0 on success or a negative error code.
149 */ 149 */
150int gen_new_estimator(struct gnet_stats_basic *bstats, 150int gen_new_estimator(struct gnet_stats_basic *bstats,
@@ -231,7 +231,7 @@ void gen_kill_estimator(struct gnet_stats_basic *bstats,
231 * 231 *
232 * Replaces the configuration of a rate estimator by calling 232 * Replaces the configuration of a rate estimator by calling
233 * gen_kill_estimator() and gen_new_estimator(). 233 * gen_kill_estimator() and gen_new_estimator().
234 * 234 *
235 * Returns 0 on success or a negative error code. 235 * Returns 0 on success or a negative error code.
236 */ 236 */
237int 237int
@@ -242,7 +242,7 @@ gen_replace_estimator(struct gnet_stats_basic *bstats,
242 gen_kill_estimator(bstats, rate_est); 242 gen_kill_estimator(bstats, rate_est);
243 return gen_new_estimator(bstats, rate_est, stats_lock, opt); 243 return gen_new_estimator(bstats, rate_est, stats_lock, opt);
244} 244}
245 245
246 246
247EXPORT_SYMBOL(gen_kill_estimator); 247EXPORT_SYMBOL(gen_kill_estimator);
248EXPORT_SYMBOL(gen_new_estimator); 248EXPORT_SYMBOL(gen_new_estimator);