Unverified Commit ed1a8519 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1742 cxgb4: fix use after free bugs caused by circular dependency problem

parents 516124de 6ff4dd3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1135,7 +1135,7 @@ void cxgb4_cleanup_tc_flower(struct adapter *adap)
		return;

	if (adap->flower_stats_timer.function)
		del_timer_sync(&adap->flower_stats_timer);
		timer_shutdown_sync(&adap->flower_stats_timer);
	cancel_work_sync(&adap->flower_stats_work);
	rhashtable_destroy(&adap->flower_tbl);
	adap->tc_flower_initialized = false;