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-08-29 16:01:32 -07:00
2005-10-10 21:11:34 -07:00
2005-08-29 16:08:31 -07:00
2005-12-02 20:32:59 -08:00
2005-11-29 16:27:20 -08:00
2005-11-08 09:41:34 -08:00
2005-11-29 16:27:20 -08:00
2005-11-08 09:41:34 -08:00
2005-08-29 15:33:20 -07:00
2005-11-08 09:41:34 -08:00
2005-09-19 18:45:42 -07:00
2005-08-29 16:01:32 -07:00
2005-11-10 17:07:24 -08:00
2005-11-10 17:07:24 -08:00
2005-11-15 15:17:10 -08:00
2005-11-10 17:13:47 -08:00
2005-11-10 17:13:47 -08:00
2005-11-10 17:14:59 -08:00
2005-11-10 17:13:47 -08:00
2005-11-11 09:21:28 -08:00
2005-08-29 15:33:20 -07:00