diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index f4f2a0a3849d..d2a5763e5abc 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -830,7 +830,7 @@ static int tcp_v4_send_synack(const struct sock *sk, struct dst_entry *dst, | |||
830 | struct flowi *fl, | 830 | struct flowi *fl, |
831 | struct request_sock *req, | 831 | struct request_sock *req, |
832 | struct tcp_fastopen_cookie *foc, | 832 | struct tcp_fastopen_cookie *foc, |
833 | bool attach_req) | 833 | enum tcp_synack_type synack_type) |
834 | { | 834 | { |
835 | const struct inet_request_sock *ireq = inet_rsk(req); | 835 | const struct inet_request_sock *ireq = inet_rsk(req); |
836 | struct flowi4 fl4; | 836 | struct flowi4 fl4; |
@@ -841,7 +841,7 @@ static int tcp_v4_send_synack(const struct sock *sk, struct dst_entry *dst, | |||
841 | if (!dst && (dst = inet_csk_route_req(sk, &fl4, req)) == NULL) | 841 | if (!dst && (dst = inet_csk_route_req(sk, &fl4, req)) == NULL) |
842 | return -1; | 842 | return -1; |
843 | 843 | ||
844 | skb = tcp_make_synack(sk, dst, req, foc, attach_req); | 844 | skb = tcp_make_synack(sk, dst, req, foc, synack_type); |
845 | 845 | ||
846 | if (skb) { | 846 | if (skb) { |
847 | __tcp_v4_send_check(skb, ireq->ir_loc_addr, ireq->ir_rmt_addr); | 847 | __tcp_v4_send_check(skb, ireq->ir_loc_addr, ireq->ir_rmt_addr); |