diff options
author | David S. Miller <davem@davemloft.net> | 2017-11-03 20:26:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-03 20:26:51 -0400 |
commit | 2a171788ba7bb61995e98e8163204fc7880f63b2 (patch) | |
tree | 4150a94dd08323748116e5051e56ddee830d4812 /net/ipv4/tcp_output.c | |
parent | bf5345882bd18bc1b4966d170c0491ebe5c9a7d6 (diff) | |
parent | d4c2e9fca5b7db8d315d93a072e65d0847f8e0c5 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Files removed in 'net-next' had their license header updated
in 'net'. We take the remove from 'net-next'.
Signed-off-by: David S. Miller <davem@davemloft.net>
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 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 | ||