netfilter: xt_CT: fix error value in xt_ct_tg_check()
authorEric Leblond <eric@regit.org>
Thu, 2 Jan 2014 09:03:45 +0000 (10:03 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 3 Jan 2014 22:41:39 +0000 (23:41 +0100)
If setting event mask fails then we were returning 0 for success.
This patch updates return code to -EINVAL in case of problem.

Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found