Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137168891
D49652.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
730 B
Referenced Files
None
Subscribers
None
D49652.diff
View Options
diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c
--- a/sys/netinet/tcp_log_buf.c
+++ b/sys/netinet/tcp_log_buf.c
@@ -1857,16 +1857,21 @@
COPY_STAT_T(rttvar);
COPY_STAT(rcv_up);
COPY_STAT(rcv_adv);
+ COPY_STAT_T(flags2);
COPY_STAT(rcv_nxt);
COPY_STAT(rcv_wnd);
COPY_STAT_T(dupacks);
COPY_STAT_T(segqlen);
COPY_STAT(snd_numholes);
- COPY_STAT(snd_scale);
- COPY_STAT(rcv_scale);
- COPY_STAT_T(flags2);
+ log_buf->tlb_flex1 = 0;
+ log_buf->tlb_flex2 = 0;
COPY_STAT_T(fbyte_in);
COPY_STAT_T(fbyte_out);
+ COPY_STAT(snd_scale);
+ COPY_STAT(rcv_scale);
+ log_buf->_pad[0] = 0;
+ log_buf->_pad[1] = 0;
+ log_buf->_pad[2] = 0;
#undef COPY_STAT
#undef COPY_STAT_T
/* Copy stack-specific info. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 22, 8:43 AM (18 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25941943
Default Alt Text
D49652.diff (730 B)
Attached To
Mode
D49652: tcp: improve initializing the fields in tcp_log_buffer
Attached
Detach File
Event Timeline
Log In to Comment