diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 823003eef3a2..478909f4694d 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -3180,13 +3180,8 @@ struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst, | |||
3180 | th->source = htons(ireq->ir_num); | 3180 | th->source = htons(ireq->ir_num); |
3181 | th->dest = ireq->ir_rmt_port; | 3181 | th->dest = ireq->ir_rmt_port; |
3182 | skb->mark = ireq->ir_mark; | 3182 | skb->mark = ireq->ir_mark; |
3183 | /* Setting of flags are superfluous here for callers (and ECE is | 3183 | skb->ip_summed = CHECKSUM_PARTIAL; |
3184 | * not even correctly set) | 3184 | th->seq = htonl(tcp_rsk(req)->snt_isn); |
3185 | */ | ||
3186 | tcp_init_nondata_skb(skb, tcp_rsk(req)->snt_isn, | ||
3187 | TCPHDR_SYN | TCPHDR_ACK); | ||
3188 | |||
3189 | th->seq = htonl(TCP_SKB_CB(skb)->seq); | ||
3190 | /* XXX data is queued and acked as is. No buffer/window check */ | 3185 | /* XXX data is queued and acked as is. No buffer/window check */ |
3191 | th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); | 3186 | th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); |
3192 | 3187 | ||