Home
last modified time | relevance | path

Searched hist:"86 c8f9d1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv4/
H A Daf_inet.c86c8f9d1 Fri Dec 02 22:43:26 CST 2005 Herbert Xu <herbert@gondor.apana.org.au> [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>
86c8f9d1 Fri Dec 02 22:43:26 CST 2005 Herbert Xu <herbert@gondor.apana.org.au> [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>