|
@@ -1829,14 +1829,13 @@ static const struct tcp_sock_af_ops tcp_sock_ipv6_mapped_specific = {
|
|
static int tcp_v6_init_sock(struct sock *sk)
|
|
static int tcp_v6_init_sock(struct sock *sk)
|
|
{
|
|
{
|
|
struct inet_connection_sock *icsk = inet_csk(sk);
|
|
struct inet_connection_sock *icsk = inet_csk(sk);
|
|
- struct tcp_sock *tp = tcp_sk(sk);
|
|
|
|
|
|
|
|
tcp_init_sock(sk);
|
|
tcp_init_sock(sk);
|
|
|
|
|
|
icsk->icsk_af_ops = &ipv6_specific;
|
|
icsk->icsk_af_ops = &ipv6_specific;
|
|
|
|
|
|
#ifdef CONFIG_TCP_MD5SIG
|
|
#ifdef CONFIG_TCP_MD5SIG
|
|
- tp->af_specific = &tcp_sock_ipv6_specific;
|
|
|
|
|
|
+ tcp_sk(sk)->af_specific = &tcp_sock_ipv6_specific;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
return 0;
|
|
return 0;
|