summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-06-13 19:51:13 +0200
committerMichał Górny <mgorny@gentoo.org>2018-06-13 20:51:34 +0200
commit07dc9d02d63a7aaed4a3ce0bd7376df469be2191 (patch)
tree8f1407c17dc4f47ad6ecbbc0c20ecbd72b76e1c7 /sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch
parentsys-freebsd/freebsd-pf: remove unused patches (diff)
downloadgentoo-07dc9d02d63a7aaed4a3ce0bd7376df469be2191.tar.gz
gentoo-07dc9d02d63a7aaed4a3ce0bd7376df469be2191.tar.bz2
gentoo-07dc9d02d63a7aaed4a3ce0bd7376df469be2191.zip
sys-freebsd/freebsd-sources: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/8838
Diffstat (limited to 'sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch')
-rw-r--r--sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch
deleted file mode 100644
index 2f82a5f98a58..000000000000
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Index: sys/netinet/tcp_reass.c
-===================================================================
---- sys/netinet/tcp_reass.c (revision 264836)
-+++ sys/netinet/tcp_reass.c (working copy)
-@@ -211,7 +211,7 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int
- * Investigate why and re-evaluate the below limit after the behaviour
- * is understood.
- */
-- if (th->th_seq != tp->rcv_nxt &&
-+ if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) &&
- tp->t_segqlen >= (so->so_rcv.sb_hiwat / tp->t_maxseg) + 1) {
- V_tcp_reass_overflows++;
- TCPSTAT_INC(tcps_rcvmemdrop);
-@@ -234,7 +234,7 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int
- */
- te = uma_zalloc(V_tcp_reass_zone, M_NOWAIT);
- if (te == NULL) {
-- if (th->th_seq != tp->rcv_nxt) {
-+ if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) {
- TCPSTAT_INC(tcps_rcvmemdrop);
- m_freem(m);
- *tlenp = 0;
-@@ -282,7 +282,8 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int
- TCPSTAT_INC(tcps_rcvduppack);
- TCPSTAT_ADD(tcps_rcvdupbyte, *tlenp);
- m_freem(m);
-- uma_zfree(V_tcp_reass_zone, te);
-+ if (te != &tqs)
-+ uma_zfree(V_tcp_reass_zone, te);
- tp->t_segqlen--;
- /*
- * Try to present any queued data