Commit 1c622ae6 authored by Roel Kluin's avatar Roel Kluin Committed by Patrick McHardy

netfilter: xt_osf: fix xt_osf_remove_callback() return value

Return a negative error value.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent d01032e4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment