diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index a215614cfb2b..3d18571811c5 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -438,7 +438,8 @@ static int tcp_v6_send_synack(const struct sock *sk, struct dst_entry *dst, | |||
438 | struct flowi *fl, | 438 | struct flowi *fl, |
439 | struct request_sock *req, | 439 | struct request_sock *req, |
440 | u16 queue_mapping, | 440 | u16 queue_mapping, |
441 | struct tcp_fastopen_cookie *foc) | 441 | struct tcp_fastopen_cookie *foc, |
442 | bool attach_req) | ||
442 | { | 443 | { |
443 | struct inet_request_sock *ireq = inet_rsk(req); | 444 | struct inet_request_sock *ireq = inet_rsk(req); |
444 | struct ipv6_pinfo *np = inet6_sk(sk); | 445 | struct ipv6_pinfo *np = inet6_sk(sk); |
@@ -451,7 +452,7 @@ static int tcp_v6_send_synack(const struct sock *sk, struct dst_entry *dst, | |||
451 | IPPROTO_TCP)) == NULL) | 452 | IPPROTO_TCP)) == NULL) |
452 | goto done; | 453 | goto done; |
453 | 454 | ||
454 | skb = tcp_make_synack(sk, dst, req, foc); | 455 | skb = tcp_make_synack(sk, dst, req, foc, attach_req); |
455 | 456 | ||
456 | if (skb) { | 457 | if (skb) { |
457 | __tcp_v6_send_check(skb, &ireq->ir_v6_loc_addr, | 458 | __tcp_v6_send_check(skb, &ireq->ir_v6_loc_addr, |