netfilter: xt_rateest: fix xt_rateest_mt_checkentry()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 29 Jul 2011 14:24:46 +0000 (16:24 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 29 Jul 2011 14:24:46 +0000 (16:24 +0200)
commit00fe1ae91e0d69e52e8212d23cd3ecc74a7259a0
treeefe77e777825ac80a19e05eedd75758a138ae424
parent55f9c40ff632d03c527d6a6ceddcda0a224587a6
netfilter: xt_rateest: fix xt_rateest_mt_checkentry()

commit 4a5a5c73b7cfee (slightly better error reporting) added some
useless code in xt_rateest_mt_checkentry().

Fix this so that different error codes can really be returned.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_rateest.c