Page MenuHomeFreeBSD

D16604.id.diff
No OneTemporary

D16604.id.diff

Index: head/sys/netinet/tcp_stacks/rack.c
===================================================================
--- head/sys/netinet/tcp_stacks/rack.c
+++ head/sys/netinet/tcp_stacks/rack.c
@@ -7603,13 +7603,10 @@
* If our state indicates that FIN should be sent and we have not
* yet done so, then we need to send.
*/
- if (flags & TH_FIN) {
- if ((tp->t_flags & TF_SENTFIN) ||
- (((tp->t_flags & TF_SENTFIN) == 0) &&
- (tp->snd_nxt == tp->snd_una))) {
- pass = 11;
- goto send;
- }
+ if ((flags & TH_FIN) &&
+ (tp->snd_nxt == tp->snd_una)) {
+ pass = 11;
+ goto send;
}
/*
* No reason to send a segment, just return.

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 27, 5:45 PM (3 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24291941
Default Alt Text
D16604.id.diff (656 B)

Event Timeline