[RTNL]: Improve error codes for unsupported operations
authorThomas Graf <tgraf@suug.ch>
Thu, 5 Apr 2007 21:35:52 +0000 (14:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:34 +0000 (22:28 -0700)
commit038890fed8d1fa95bbbdeb517f5710eb75fa9e2e
tree3dc8cc28ada84f609fe415ff7b03f5b97e6b3f98
parent716ea3a7aae3a2bfc44cb97b5419c1c9868c7bc9
[RTNL]: Improve error codes for unsupported operations

The most common trigger of these errors is that the
config option hasn't been enable wich would make the
functionality available. Therefore returning EOPNOTSUPP
gives a better idea on what is going wrong.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c