Files
mirror_zfs/module/zfs
Brian Behlendorf bc8a6a60e9 Fix inst_num overflow in qat_crypt.c
This patch fixes the same issue which was previously addressed in
6051.  The variable "inst_num" was of the incorrect type and
"atomic_inc_32_nv()" could cause an overflow damaging its neighbor.

Cast the return value of atomic_inc_32_nv() to Cpa32U.

Fix a few types for num_inst for clarity.

Reviewed-by: Weigang Li <weigang.li@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7468
2018-05-01 20:44:24 -07:00
..
2017-11-18 14:08:00 -08:00
2018-05-01 11:24:20 -07:00
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2015-01-16 14:41:26 -08:00
2018-05-01 11:24:20 -07:00
2018-05-01 10:33:35 -07:00
2018-05-01 10:33:35 -07:00
2017-08-14 10:36:48 -07:00
2017-10-11 16:54:48 -04:00
2015-01-16 14:41:26 -08:00
2016-04-21 09:49:25 -07:00
2018-03-15 10:53:58 -07:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2018-03-15 10:53:58 -07:00
2010-08-31 13:41:58 -07:00
2018-04-30 10:19:48 -07:00
2017-07-13 13:54:00 -04:00
2016-11-29 14:34:33 -08:00
2018-02-08 15:28:18 -08:00
2018-04-15 10:59:13 -07:00
2010-08-31 13:41:58 -07:00
2017-03-10 09:51:33 -08:00
2018-02-13 14:54:54 -08:00
2018-02-13 14:54:54 -08:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2018-02-13 14:54:54 -08:00
2018-03-21 08:42:13 -07:00
2018-04-30 10:19:48 -07:00
2018-02-09 10:08:05 -08:00
2018-02-13 14:54:54 -08:00
2017-11-18 14:08:00 -08:00
2018-04-15 15:12:28 -07:00