Page MenuHomeFreeBSD

D23645.diff
No OneTemporary

D23645.diff

Index: head/sys/netinet/tcp_syncache.c
===================================================================
--- head/sys/netinet/tcp_syncache.c
+++ head/sys/netinet/tcp_syncache.c
@@ -1668,7 +1668,8 @@
sc->sc_peer_mss = to->to_mss; /* peer mss may be zero */
if (ltflags & TF_NOOPT)
sc->sc_flags |= SCF_NOOPT;
- if ((th->th_flags & (TH_ECE|TH_CWR)) && V_tcp_do_ecn)
+ if (((th->th_flags & (TH_ECE|TH_CWR)) == (TH_ECE|TH_CWR)) &&
+ V_tcp_do_ecn)
sc->sc_flags |= SCF_ECN;
if (V_tcp_syncookies)

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 7:57 AM (4 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16260744
Default Alt Text
D23645.diff (510 B)

Event Timeline