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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index fcd278a7080e..2e2eb74ac4cc 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -661,8 +661,8 @@ static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it,
661 661
662 /* Build TCP header and checksum it. */ 662 /* Build TCP header and checksum it. */
663 th = tcp_hdr(skb); 663 th = tcp_hdr(skb);
664 th->source = inet->sport; 664 th->source = inet->inet_sport;
665 th->dest = inet->dport; 665 th->dest = inet->inet_dport;
666 th->seq = htonl(tcb->seq); 666 th->seq = htonl(tcb->seq);
667 th->ack_seq = htonl(tp->rcv_nxt); 667 th->ack_seq = htonl(tp->rcv_nxt);
668 *(((__be16 *)th) + 6) = htons(((tcp_header_size >> 2) << 12) | 668 *(((__be16 *)th) + 6) = htons(((tcp_header_size >> 2) << 12) |