Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115547660
D44669.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44669.diff
View Options
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -3272,6 +3272,35 @@
len = so->so_rcv.sb_hiwat;
#endif
} else {
+ if ((s = tcp_log_addrs(inc, th, NULL, NULL))) {
+ if (tlen > 0) {
+ if ((thflags & TH_FIN) != 0) {
+ log(LOG_DEBUG, "%s; %s: %s: "
+ "Received %d bytes of data and FIN "
+ "after having received a FIN, "
+ "just dropping both\n",
+ s, __func__,
+ tcpstates[tp->t_state], tlen);
+ } else {
+ log(LOG_DEBUG, "%s; %s: %s: "
+ "Received %d bytes of data "
+ "after having received a FIN, "
+ "just dropping it\n",
+ s, __func__,
+ tcpstates[tp->t_state], tlen);
+ }
+ } else {
+ if ((thflags & TH_FIN) != 0) {
+ log(LOG_DEBUG, "%s; %s: %s: "
+ "Received FIN "
+ "after having received a FIN, "
+ "just dropping it\n",
+ s, __func__,
+ tcpstates[tp->t_state]);
+ }
+ }
+ free(s, M_TCPLOG);
+ }
m_freem(m);
thflags &= ~TH_FIN;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 4:18 AM (14 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17797880
Default Alt Text
D44669.diff (1 KB)
Attached To
Mode
D44669: tcp: add some debug output
Attached
Detach File
Event Timeline
Log In to Comment