Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ca7f876 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

pkt_sched: remov unnecessary bh_disable



Now that est_tree_lock is acquired with BH protection, the other
call is unnecessary.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a034ee3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -274,9 +274,9 @@ void gen_kill_estimator(struct gnet_stats_basic_packed *bstats,
	while ((e = gen_find_node(bstats, rate_est))) {
		rb_erase(&e->node, &est_root);

		write_lock_bh(&est_lock);
		write_lock(&est_lock);
		e->bstats = NULL;
		write_unlock_bh(&est_lock);
		write_unlock(&est_lock);

		list_del_rcu(&e->list);
		call_rcu(&e->e_rcu, __gen_kill_estimator);