Page MenuHomeFreeBSD

D37080.diff
No OneTemporary

D37080.diff

diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -73,6 +73,7 @@
#include <netinet/tcpip.h>
#include <netinet/tcp_hpts.h>
#include <netinet/tcp_log_buf.h>
+#include <netinet/tcp_fsm.h>
#include <netinet/udp.h>
#include <netinet6/ip6_var.h>
@@ -1359,7 +1360,9 @@
tp = intotcpcb(inp);
/* Check if the inp is dead, Jim. */
- if (tp == NULL || (inp->inp_flags & INP_DROPPED)) {
+ if (tp == NULL ||
+ (inp->inp_flags & INP_DROPPED) ||
+ (tp->t_state == TCPS_TIME_WAIT)) {
INP_WUNLOCK(inp);
return (TCP_LRO_CANNOT);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 30, 12:27 PM (22 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13182519
Default Alt Text
D37080.diff (610 B)

Event Timeline