aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1998-06-05 23:33:26 +0000
committerJulian Elischer <julian@FreeBSD.org>1998-06-05 23:33:26 +0000
commitc2a239ebc763c848d26be09fa819f922f6ee0c00 (patch)
tree5a3205a04fda9380a5c996017fccc5968e182cec /sys
parent756534d1171a149b0b2069834942be013a010c9d (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_fw.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index df5e2f86075f8..53f28563b427b 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -12,7 +12,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_fw.c,v 1.84 1998/05/25 10:37:44 julian Exp $
+ * $Id: ip_fw.c,v 1.85 1998/06/05 22:39:53 julian Exp $
*/
/*
@@ -994,6 +994,11 @@ static int
ip_fw_ctl(int stage, struct mbuf **mm)
{
int error;
+ /*
+ * If we have any number of rules, then it's worth while
+ * using clusters for this. The smaller case is rare.
+ * Note that using clusters for setsockopt is only in 3.0 at this time.
+ */
struct mbuf *m;
if (stage == IP_FW_GET) {