svn commit: r362302 - stable/12/sys/netpfil/ipfw

Eugene Grosbein eugen at FreeBSD.org
Thu Jun 18 08:37:57 UTC 2020


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;


More information about the svn-src-all mailing list