aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-11-13 09:31:35 +0100
committerPatrick McHardy <kaber@trash.net>2009-11-13 09:31:35 +0100
commit1c622ae67bfc729891f5cd80795b15b87e6ac471 (patch)
tree499484792bf2bc84b204732f88a373755840742e
parentd01032e4fd33110f9f3a085a36cb819c1dfc5827 (diff)
downloadkernel_samsung_tuna-1c622ae67bfc729891f5cd80795b15b87e6ac471.zip
kernel_samsung_tuna-1c622ae67bfc729891f5cd80795b15b87e6ac471.tar.gz
kernel_samsung_tuna-1c622ae67bfc729891f5cd80795b15b87e6ac471.tar.bz2
netfilter: xt_osf: fix xt_osf_remove_callback() return value
Return a negative error value. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r--net/netfilter/xt_osf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_osf.c b/net/netfilter/xt_osf.c
index 63e1905..4d1a41b 100644
--- a/net/netfilter/xt_osf.c
+++ b/net/netfilter/xt_osf.c
@@ -118,7 +118,7 @@ static int xt_osf_remove_callback(struct sock *ctnl, struct sk_buff *skb,
{
struct xt_osf_user_finger *f;
struct xt_osf_finger *sf;
- int err = ENOENT;
+ int err = -ENOENT;
if (!osf_attrs[OSF_ATTR_FINGER])
return -EINVAL;