projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: xtables: change matches to return error code
[deliverable/linux.git]
/
net
/
netfilter
/
xt_dscp.c
diff --git
a/net/netfilter/xt_dscp.c
b/net/netfilter/xt_dscp.c
index 295da4ce822c75314105fe01aba66661cd345e3d..f355fb9e06fade7b8d5a48680bae8ed445caccc1 100644
(file)
--- a/
net/netfilter/xt_dscp.c
+++ b/
net/netfilter/xt_dscp.c
@@
-48,10
+48,10
@@
static int dscp_mt_check(const struct xt_mtchk_param *par)
if (info->dscp > XT_DSCP_MAX) {
pr_info("dscp %x out of range\n", info->dscp);
- return
false
;
+ return
-EINVAL
;
}
- return
true
;
+ return
0
;
}
static bool tos_mt(const struct sk_buff *skb, const struct xt_match_param *par)
This page took
0.028632 seconds
and
5
git commands to generate.