Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102640979
D30885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
688 B
Referenced Files
None
Subscribers
None
D30885.diff
View Options
diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -12491,6 +12491,9 @@
static void
rack_set_state(struct tcpcb *tp, struct tcp_rack *rack)
{
+ if ((rack->r_state == TCPS_CLOSED) && (tp->t_state != TCPS_CLOSED)) {
+ rack->r_is_v6 = (tp->t_inpcb->inp_vflag & INP_IPV6) != 0;
+ }
switch (tp->t_state) {
case TCPS_SYN_SENT:
rack->r_state = TCPS_SYN_SENT;
@@ -16215,7 +16218,7 @@
}
idle = 0;
}
- if (rack_use_fsb && (rack->r_fsb_inited == 0))
+ if (rack_use_fsb && (rack->r_fsb_inited == 0) && (rack->r_state != TCPS_CLOSED))
rack_init_fsb_block(tp, rack);
again:
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 5:29 AM (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14653690
Default Alt Text
D30885.diff (688 B)
Attached To
Mode
D30885: tcp: Rack not being very friendly with V6:4 socket and having a connection from V4
Attached
Detach File
Event Timeline
Log In to Comment