Files
linux/drivers/net/ethernet/intel/ice
Jacob Keller 9eb5fff6b0 ice: set tx_tstamps when creating new Tx rings via ethtool
[ Upstream commit b3b173745c ]

When the user changes the number of queues via ethtool, the driver
allocates new rings. This allocation did not initialize tx_tstamps. This
results in the tx_tstamps field being zero (due to kcalloc allocation), and
would result in a NULL pointer dereference when attempting a transmit
timestamp on the new ring.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: fc5ae5b44e ("Bluetooth: L2CAP: Fix build errors in some archs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-21 12:38:04 +02:00
..
2022-07-21 11:22:45 -07:00
2022-09-02 08:25:15 -07:00
2022-07-21 11:22:45 -07:00
2022-07-21 11:22:45 -07:00
2021-11-30 08:02:12 -08:00
2022-03-11 08:28:27 -08:00
2022-02-09 09:24:45 -08:00
2021-12-14 10:19:14 -08:00