Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79326
b: refs/heads/master
c: 9675016
h: refs/heads/master
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Jan 28, 2008
1 parent 3822186 commit 1d3b94d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 72348a424f989d6b748d9b816d46839b01fcd4cd
refs/heads/master: 96750162b5f7350ec7ba7cf747a6623858d65dd2
13 changes: 6 additions & 7 deletions trunk/net/core/gen_estimator.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ void gen_kill_estimator(struct gnet_stats_basic *bstats,
}

/**
* gen_replace_estimator - replace rate estimator configruation
* gen_replace_estimator - replace rate estimator configuration
* @bstats: basic statistics
* @rate_est: rate estimator statistics
* @stats_lock: statistics lock
Expand All @@ -252,13 +252,12 @@ void gen_kill_estimator(struct gnet_stats_basic *bstats,
*
* Returns 0 on success or a negative error code.
*/
int
gen_replace_estimator(struct gnet_stats_basic *bstats,
struct gnet_stats_rate_est *rate_est, spinlock_t *stats_lock,
struct rtattr *opt)
int gen_replace_estimator(struct gnet_stats_basic *bstats,
struct gnet_stats_rate_est *rate_est,
spinlock_t *stats_lock, struct rtattr *opt)
{
gen_kill_estimator(bstats, rate_est);
return gen_new_estimator(bstats, rate_est, stats_lock, opt);
gen_kill_estimator(bstats, rate_est);
return gen_new_estimator(bstats, rate_est, stats_lock, opt);
}


Expand Down

0 comments on commit 1d3b94d

Please sign in to comment.