From: Herbert Xu Date: Sat, 3 Dec 2005 04:43:26 +0000 (-0800) Subject: [IPV4] Fix EPROTONOSUPPORT error in inet_create X-Git-Tag: v2.6.15-rc5~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86c8f9d158f68538a971a47206a46a22c7479bac;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed