From: Thomas Jarosch Date: Tue, 11 May 2004 18:33:36 +0000 (+0000) Subject: kernel-2.4: (tomj) updated ipt_ACCOUNT module X-Git-Tag: v1.9~31 X-Git-Url: http://developer.intra2net.com/git/?p=ipt_ACCOUNT;a=commitdiff_plain;h=1135d7cffb5d27ddb2cc1b3c5eb8ded65b738051 kernel-2.4: (tomj) updated ipt_ACCOUNT module --- diff --git a/linux/net/ipv4/netfilter/ipt_ACCOUNT.c b/linux/net/ipv4/netfilter/ipt_ACCOUNT.c index cdba9fb..a9286ee 100644 --- a/linux/net/ipv4/netfilter/ipt_ACCOUNT.c +++ b/linux/net/ipv4/netfilter/ipt_ACCOUNT.c @@ -584,7 +584,7 @@ int ipt_account_handle_prepare_read_flush(char *tablename, unsigned int *count) return -1; /* Try to allocate memory */ - void *new_data_page = get_zeroed_page(GFP_ATOMIC); + void *new_data_page = (void*)get_zeroed_page(GFP_ATOMIC); if (!new_data_page) { printk("ACCOUNT: ipt_account_handle_prepare_read_flush(): Out of memory!\n");