diff options
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r-- | net/ipv4/tcp_minisocks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index cb015317c9f7..72b7c63b1a39 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c | |||
@@ -445,6 +445,8 @@ struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req, | |||
445 | struct tcp_sock *oldtp = tcp_sk(sk); | 445 | struct tcp_sock *oldtp = tcp_sk(sk); |
446 | struct tcp_cookie_values *oldcvp = oldtp->cookie_values; | 446 | struct tcp_cookie_values *oldcvp = oldtp->cookie_values; |
447 | 447 | ||
448 | newsk->sk_rx_dst = dst_clone(skb_dst(skb)); | ||
449 | |||
448 | /* TCP Cookie Transactions require space for the cookie pair, | 450 | /* TCP Cookie Transactions require space for the cookie pair, |
449 | * as it differs for each connection. There is no need to | 451 | * as it differs for each connection. There is no need to |
450 | * copy any s_data_payload stored at the original socket. | 452 | * copy any s_data_payload stored at the original socket. |