git://developer.intra2net.com
/
ipt_ACCOUNT
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
ipt_ACCOUNT, kernel-2.4: (tomj) fixed kernel memory leak for class A networks
[ipt_ACCOUNT]
/
linux
/
net
/
ipv4
/
netfilter
/
ipt_ACCOUNT.c
diff --git
a/linux/net/ipv4/netfilter/ipt_ACCOUNT.c
b/linux/net/ipv4/netfilter/ipt_ACCOUNT.c
index
c22b419
..
7ec2ec6
100644
(file)
--- a/
linux/net/ipv4/netfilter/ipt_ACCOUNT.c
+++ b/
linux/net/ipv4/netfilter/ipt_ACCOUNT.c
@@
-75,7
+75,7
@@
void ipt_account_data_free(void *data, unsigned char depth)
}
/* Free for 24 bit network */
- if (depth == 3) {
+ if (depth == 2) {
unsigned int a, b;
for (a=0; a <= 255; a++) {
if (((struct ipt_account_mask_8 *)data)->mask_16[a]) {