linux/drivers/net/ethernet/intel
Sasha Neftin c0f4b163a0 e1000e: fix the use of magic numbers for buffer overrun issue
This is a follow on to commit b10effb92e ("fix buffer overrun while the
 I219 is processing DMA transactions") to address David Laights concerns
about the use of "magic" numbers.  So define masks as well as add
additional code comments to give a better understanding of what needs to
be done to avoid a buffer overrun.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Reviewed-by: Alexander H Duyck <alexander.h.duyck@intel.com>
Reviewed-by: Dima Ruinskiy <dima.ruinskiy@intel.com>
Reviewed-by: Raanan Avargil <raanan.avargil@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-11-27 13:57:10 -08:00
..
e1000 e1000: avoid null pointer dereference on invalid stat type 2017-10-26 07:42:57 -07:00
e1000e e1000e: fix the use of magic numbers for buffer overrun issue 2017-11-27 13:57:10 -08:00
fm10k fm10k: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:48:39 -08:00
i40e i40e/virtchnl: fix application of sizeof to pointer 2017-11-27 13:50:35 -08:00
i40evf i40evf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:52:38 -08:00
igb igb: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:47:24 -08:00
igbvf igbvf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:46:04 -08:00
ixgb ethernet/intel: Convert timers to use timer_setup() 2017-10-18 12:40:26 +01:00
ixgbe ixgbe: Fix skb list corruption on Power systems 2017-11-21 23:42:03 -08:00
ixgbevf ixgbevf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:44:53 -08:00
e100.c ethernet/intel: Convert timers to use timer_setup() 2017-10-18 12:40:26 +01:00
Kconfig i40evf: Add support for Adaptive Virtual Function 2017-06-01 14:30:02 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00