[IP_SOCKGLUE]: Remove most of the tcp specific calls
[linux-block.git] / net / ipv4 / af_inet.c
index d368cf24900095f4d8a6fefc9b105fb4204eb023..617e858beff1b7fd3dc3775b62dba111e04363f3 100644 (file)
@@ -302,6 +302,7 @@ lookup_protocol:
                sk->sk_reuse = 1;
 
        inet = inet_sk(sk);
+       inet->is_icsk = INET_PROTOSW_ICSK & answer_flags;
 
        if (SOCK_RAW == sock->type) {
                inet->num = protocol;
@@ -869,7 +870,8 @@ static struct inet_protosw inetsw_array[] =
                 .ops =        &inet_stream_ops,
                 .capability = -1,
                 .no_check =   0,
-                .flags =      INET_PROTOSW_PERMANENT,
+                .flags =      INET_PROTOSW_PERMANENT |
+                             INET_PROTOSW_ICSK,
         },
 
         {