summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_tunnel.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-12-03 04:43:26 (GMT)
committerDavid S. Miller <davem@davemloft.net>2005-12-03 04:43:26 (GMT)
commit86c8f9d158f68538a971a47206a46a22c7479bac (patch)
tree2c68c64d7fa7387700354cd24ba07486bd00104e /net/ipv6/ip6_tunnel.c
parent24c6927505ca77ee4ac25fb31dcd56f6506979ed (diff)
downloadlinux-fsl-qoriq-86c8f9d158f68538a971a47206a46a22c7479bac.tar.xz
[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>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
0 files changed, 0 insertions, 0 deletions