[NETLINK]: Don't prevent creating sockets when no kernel socket is registered
commit513c25000005257e5474f261bf27d4a3c1dff1e3
authorPatrick McHardy <kaber@trash.net>
Tue, 6 Sep 2005 22:43:59 +0000 (6 15:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2005 22:43:59 +0000 (6 15:43 -0700)
tree1af54cdedefc865fcf25f35d58701fcaa6f2e7eb
parente4466399398a2ec854776e9eca2b4415b40bd1ff
[NETLINK]: Don't prevent creating sockets when no kernel socket is registered

This broke the pam audit module which includes an incorrect check for
-ENOENT instead of -EPROTONOTSUPP.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c