projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.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
|
history
diff --git
a/net/netfilter/xt_osf.c
b/net/netfilter/xt_osf.c
index
63e1905
..
4d1a41b
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;