svn commit: r272518 - head/sys/netpfil/ipfw
Alexander V. Chernikov
melifaro at FreeBSD.org
Sat Oct 4 12:46:27 UTC 2014
Author: melifaro
Date: Sat Oct 4 12:46:26 2014
New Revision: 272518
URL: https://svnweb.freebsd.org/changeset/base/272518
Log:
Bump max rule size to 512 opcodes.
Modified:
head/sys/netpfil/ipfw/ip_fw_sockopt.c
Modified: head/sys/netpfil/ipfw/ip_fw_sockopt.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_sockopt.c Sat Oct 4 12:42:37 2014 (r272517)
+++ head/sys/netpfil/ipfw/ip_fw_sockopt.c Sat Oct 4 12:46:26 2014 (r272518)
@@ -940,7 +940,7 @@ ipfw_getrules(struct ip_fw_chain *chain,
int
ipfw_ctl(struct sockopt *sopt)
{
-#define RULE_MAXSIZE (256*sizeof(u_int32_t))
+#define RULE_MAXSIZE (512*sizeof(u_int32_t))
int error;
size_t size, len, valsize;
struct ip_fw *buf, *rule;
More information about the svn-src-all
mailing list