Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107464597
D44584.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
593 B
Referenced Files
None
Subscribers
None
D44584.diff
View Options
diff --git a/sys/netinet/tcp_hpts.c b/sys/netinet/tcp_hpts.c
--- a/sys/netinet/tcp_hpts.c
+++ b/sys/netinet/tcp_hpts.c
@@ -1651,6 +1651,7 @@
* enough activity in the system that we don't need to
* run as often (if we were not directly woken).
*/
+ tv.tv_sec = 0;
if (hpts->p_direct_wake == 0) {
counter_u64_add(hpts_back_tosleep, 1);
if (hpts->p_on_queue_cnt >= conn_cnt_thresh) {
@@ -1675,7 +1676,6 @@
* Directly woken most likely to reset the
* callout time.
*/
- tv.tv_sec = 0;
tv.tv_usec = hpts->p_mysleep.tv_usec;
}
goto back_to_sleep;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 15, 1:26 PM (12 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15811058
Default Alt Text
D44584.diff (593 B)
Attached To
Mode
D44584: tcp hpts: initialize variable
Attached
Detach File
Event Timeline
Log In to Comment