Herbert Xu 86c8f9d158 [IPV4] Fix EPROTONOSUPPORT error in inet_create
There is a coding error in inet_create that causes it to always return
ESOCKTNOSUPPORT.  It should return EPROTONOSUPPORT when there are
protocols registered for a given socket type but none of them match
the requested protocol.

This is based on a patch by Jayachandran C.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-12-02 20:43:26 -08:00
..
2005-11-08 09:41:34 -08:00
2005-09-19 15:41:28 -07:00
2005-09-27 16:11:29 -07:00
2005-11-08 09:41:34 -08:00
2005-11-11 12:04:28 -08:00
2005-11-08 09:41:34 -08:00
2005-08-29 16:01:32 -07:00
2005-11-08 09:41:34 -08:00
2005-08-29 15:31:14 -07:00
2005-10-05 12:16:04 -07:00
2005-10-03 13:57:23 -07:00
2005-11-08 09:41:34 -08:00
2005-11-09 07:55:58 -08:00
2005-11-08 09:41:34 -08:00
2005-09-08 08:14:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00