Modify the socket create validation check function.
remove the incvalid cases.
@@ -196,12 +196,7 @@ static int socket_argument_validation(int domain, int type, int protocol)
case IPPROTO_ICMP:
case IPPROTO_TCP:
case IPPROTO_UDP:
-#ifdef CONFIG_NET_IPv6
- case IPPROTO_IPV6:
- case IPPROTO_ICMPV6:
-#endif
case IPPROTO_UDPLITE:
- case IPPROTO_RAW:
break;
default:
return -1;
