diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-06-09 22:56:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-09 22:56:20 (GMT) |
commit | 0adf9d67489cd30bab8eb93f7de81a674e44e1c3 (patch) | |
tree | 3b29b50ef66f4796211c36a3f098500fcd23a909 /include/asm-alpha/io.h | |
parent | 93f65158723ceb7078ee9a0fd4830c0de00f4b9e (diff) | |
download | linux-fsl-qoriq-0adf9d67489cd30bab8eb93f7de81a674e44e1c3.tar.xz |
netfilter: ctnetlink: group errors into logical errno sets
This patch groups ctnetlink errors into three logical sets:
* Malformed messages: if ctnetlink receives a message without some mandatory
attribute, then it returns EINVAL.
* Unsupported operations: if userspace tries to perform an unsupported
operation, then it returns EOPNOTSUPP.
* Unchangeable: if userspace tries to change some attribute of the
conntrack object that can only be set once, then it returns EBUSY.
This patch reduces the number of -EINVAL from 23 to 14 and it results in
5 -EBUSY and 6 -EOPNOTSUPP.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-alpha/io.h')
0 files changed, 0 insertions, 0 deletions