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: change hotdrop pointer to direct modification
[safe/jmp/linux-2.6]
/
net
/
netfilter
/
xt_connlimit.c
diff --git
a/net/netfilter/xt_connlimit.c
b/net/netfilter/xt_connlimit.c
index
f130fd9
..
5c5b6b9
100644
(file)
--- a/
net/netfilter/xt_connlimit.c
+++ b/
net/netfilter/xt_connlimit.c
@@
-206,14
+206,14
@@
connlimit_mt(const struct sk_buff *skb, struct xt_action_param *par)
if (connections < 0) {
/* kmalloc failed, drop it entirely */
-
*
par->hotdrop = true;
+ par->hotdrop = true;
return false;
}
return (connections > info->limit) ^ info->inverse;
hotdrop:
-
*
par->hotdrop = true;
+ par->hotdrop = true;
return false;
}