mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
The SIFTR DPCPU statistics struct was not being zeroed between enable/disable
cycles so the values would accumulate rather than reset for each cycle. Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
aac762c267
commit
adc5f0109d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209982
@ -1233,6 +1233,8 @@ siftr_manage_ops(uint8_t action)
|
||||
|
||||
STAILQ_INIT(&pkt_queue);
|
||||
|
||||
DPCPU_ZERO(ss);
|
||||
|
||||
siftr_exit_pkt_manager_thread = 0;
|
||||
|
||||
ret = kthread_add(&siftr_pkt_manager_thread, NULL, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user