Re: [net-next 9/9] i40e: silence an UBSAN false positive

2020-06-22 Thread Jakub Kicinski
On Mon, 22 Jun 2020 15:18:17 -0700 Jeff Kirsher wrote: > From: Qian Cai > > virtchnl_rss_lut.lut is used for the RSS lookup table, but in > i40e_vc_config_rss_lut(), it is indexed by subscript results in a false > positive. This is commit message is not great either. The point is that we have a

[net-next 9/9] i40e: silence an UBSAN false positive

2020-06-22 Thread Jeff Kirsher
From: Qian Cai virtchnl_rss_lut.lut is used for the RSS lookup table, but in i40e_vc_config_rss_lut(), it is indexed by subscript results in a false positive. UBSAN: array-index-out-of-bounds in drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:2983:15 index 1 is out of range for type 'u8 [1