From: Florian Westphal Date: Mon, 24 Nov 2014 13:06:22 +0000 (+0100) Subject: netfilter: xt_recent: relax ip_pkt_list_tot restrictions X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~99^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc86d0f99242b7f142b7cb8f90e30081dd3c256;p=pandora-kernel.git netfilter: xt_recent: relax ip_pkt_list_tot restrictions The maximum value for the hitcount parameter is given by "ip_pkt_list_tot" parameter (default: 20). Exceeding this value on the command line will cause the rule to be rejected. The parameter is also readonly, i.e. it cannot be changed without module unload or reboot. Store size per table, then base nstamps[] size on the hitcount instead. The module parameter is retained for backwards compatibility. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed