]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
netfilter: ipset: "Directory not empty" error message
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 21 Feb 2013 10:12:40 +0000 (11:12 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 21 Feb 2013 16:35:43 +0000 (17:35 +0100)
commitdd82088dab3646ed28e4aa43d1a5b5d5ffc2afba
treed3bec9cf01872af153eac970a2a75ca86fa56fba
parentcf1c4a094f46ace5bf00078e2db73491ddf018fe
netfilter: ipset: "Directory not empty" error message

When an entry flagged with "nomatch" was tested by ipset, it
returned the error message "Kernel error received:
Directory not empty" instead of "<element> is NOT in set <setname>"
(reported by John Brendler).

The internal error code was not properly transformed before returning
to userspace, fixed.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_core.c