summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_minisocks.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-07-30 03:57:21 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-31 14:37:49 -0700
commit45f119bf936b1f9f546a0b139c5b56f9bb2bdc78 (patch)
tree860b9827faa6b5d3ba64ba30149737b388c55e66 /net/ipv4/tcp_minisocks.c
parentb6690b14386698ce2c19309abad3f17656bdfaea (diff)
downloadop-kernel-dev-45f119bf936b1f9f546a0b139c5b56f9bb2bdc78.zip
op-kernel-dev-45f119bf936b1f9f546a0b139c5b56f9bb2bdc78.tar.gz
tcp: remove header prediction
Like prequeue, I am not sure this is overly useful nowadays. If we receive a train of packets, GRO will aggregate them if the headers are the same (HP predates GRO by several years) so we don't get a per-packet benefit, only a per-aggregated-packet one. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r--net/ipv4/tcp_minisocks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
index 188a6f3..1537b87 100644
--- a/net/ipv4/tcp_minisocks.c
+++ b/net/ipv4/tcp_minisocks.c
@@ -436,8 +436,6 @@ struct sock *tcp_create_openreq_child(const struct sock *sk,
struct tcp_sock *newtp = tcp_sk(newsk);
/* Now setup tcp_sock */
- newtp->pred_flags = 0;
-
newtp->rcv_wup = newtp->copied_seq =
newtp->rcv_nxt = treq->rcv_isn + 1;
newtp->segs_in = 1;
OpenPOWER on IntegriCloud