Re: xtables-addons 64-bit counter patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2015-11-09 00:49, Neal P. Murphy wrote:

>Re-sent, as the original may have been overlooked.

This was included in 2.6 already.

>diff -Nubr xtables-addons-1.45-P1/extensions/ACCOUNT/xt_ACCOUNT.c xtables-addons-1.45/extensions/ACCOUNT/xt_ACCOUNT.c
>--- xtables-addons-1.45-P1/extensions/ACCOUNT/xt_ACCOUNT.c	2015-10-19 01:23:03.000000000 -0400
>+++ xtables-addons-1.45/extensions/ACCOUNT/xt_ACCOUNT.c	2015-10-19 01:23:39.000000000 -0400
>@@ -145,7 +145,7 @@
> 		unsigned int b;
> 		for (b = 0; b <= 255; b++) {
> 			if (mask_16->mask_24[b]) {
>-				free_page((unsigned long)mask_16->mask_24[b]);
>+				free_pages((unsigned long)mask_16->mask_24[b], 2);
> 			}
> 		}
> 		free_pages((unsigned long)data, 2);
>@@ -162,10 +162,10 @@
> 
> 				for (b = 0; b <= 255; b++) {
> 					if (mask_16->mask_24[b]) {
>-						free_page((unsigned long)mask_16->mask_24[b]);
>+						free_pages((unsigned long)mask_16->mask_24[b], 2);
> 					}
> 				}
>-				free_page((unsigned long)mask_16);
>+				free_pages((unsigned long)mask_16, 2);
> 			}
> 		}
> 		free_pages((unsigned long)data, 2);
>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux