aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 822962ece284..b98b2f7f07e7 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -3257,13 +3257,8 @@ struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
3257 th->source = htons(ireq->ir_num); 3257 th->source = htons(ireq->ir_num);
3258 th->dest = ireq->ir_rmt_port; 3258 th->dest = ireq->ir_rmt_port;
3259 skb->mark = ireq->ir_mark; 3259 skb->mark = ireq->ir_mark;
3260 /* Setting of flags are superfluous here for callers (and ECE is 3260 skb->ip_summed = CHECKSUM_PARTIAL;
3261 * not even correctly set) 3261 th->seq = htonl(tcp_rsk(req)->snt_isn);
3262 */
3263 tcp_init_nondata_skb(skb, tcp_rsk(req)->snt_isn,
3264 TCPHDR_SYN | TCPHDR_ACK);
3265
3266 th->seq = htonl(TCP_SKB_CB(skb)->seq);
3267 /* XXX data is queued and acked as is. No buffer/window check */ 3262 /* XXX data is queued and acked as is. No buffer/window check */
3268 th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); 3263 th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt);
3269 3264