Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2020 08:37:56 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r362302 - stable/12/sys/netpfil/ipfw
Message-ID:  <202006180837.05I8buxA002212@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Thu Jun 18 08:37:56 2020
New Revision: 362302
URL: https://svnweb.freebsd.org/changeset/base/362302

Log:
  MFC r361789: ipfw: unbreak matching with big table type flow.

Modified:
  stable/12/sys/netpfil/ipfw/ip_fw_table_algo.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/netpfil/ipfw/ip_fw_table_algo.c
==============================================================================
--- stable/12/sys/netpfil/ipfw/ip_fw_table_algo.c	Thu Jun 18 08:35:51 2020	(r362301)
+++ stable/12/sys/netpfil/ipfw/ip_fw_table_algo.c	Thu Jun 18 08:37:56 2020	(r362302)
@@ -3204,7 +3204,8 @@ ta_lookup_fhash(struct table_info *ti, void *key, uint
 	struct fhashentry *ent;
 	struct fhashentry4 *m4;
 	struct ipfw_flow_id *id;
-	uint16_t hash, hsize;
+	uint32_t hsize;
+	uint16_t hash;
 
 	id = (struct ipfw_flow_id *)key;
 	head = (struct fhashbhead *)ti->state;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006180837.05I8buxA002212>