projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b1c8b0
)
netfilter: xt_osf: fix xt_osf_remove_callback() return value
author
Patrick McHardy
<kaber@trash.net>
Thu, 19 Nov 2009 04:59:03 +0000
(
04:59
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Nov 2009 21:16:26 +0000
(13:16 -0800)
Return a negative error value.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_osf.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/xt_osf.c
b/net/netfilter/xt_osf.c
index 63e190504656dcea83b9706c12c0954466eaa59c..4d1a41bbd5d7b735f63c7f0482472b12f9784472 100644
(file)
--- 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;