git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: xtables: slightly better error reporting
[safe/jmp/linux-2.6]
/
net
/
netfilter
/
xt_string.c
diff --git
a/net/netfilter/xt_string.c
b/net/netfilter/xt_string.c
index
e1f22a7
..
b0f8292
100644
(file)
--- a/
net/netfilter/xt_string.c
+++ b/
net/netfilter/xt_string.c
@@
-63,7
+63,7
@@
static int string_mt_check(const struct xt_mtchk_param *par)
ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen,
GFP_KERNEL, flags);
if (IS_ERR(ts_conf))
- return
-EINVAL
;
+ return
PTR_ERR(ts_conf)
;
conf->config = ts_conf;
return 0;