linux_dsm_epyc7002/drivers/net/ethernet/intel
Mitch Williams 168d91cf2a iavf: use signed variable
The counter variable in iavf_clean_tx_irq starts out negative and climbs
to 0. So allocating it as u16 is actually a really bad idea that just
happens to work because the value underflows and overflows consistently
on most architectures.

Replace the u16 with an int so signed math works as expected.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-06-17 15:39:25 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
e1000e e1000e: start network tx queue only when link is up 2019-05-28 16:08:43 -07:00
fm10k Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
i40e i40e: mark expected switch fall-through 2019-06-14 13:03:45 -07:00
iavf iavf: use signed variable 2019-06-17 15:39:25 -07:00
ice ice: Use LLDP ethertype define ETH_P_LLDP 2019-06-05 13:04:29 -07:00
igb igb: mark expected switch fall-through 2019-05-28 15:52:37 -07:00
igbvf drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
igc igc: Cleanup the redundant code 2019-05-28 16:15:55 -07:00
ixgb cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ixgbe ixgbe: implement support for SDP/PPS output on X550 hardware 2019-06-05 13:04:30 -07:00
ixgbevf net: ixgbevf: fix a missing check of ixgbevf_write_msg_read_ack 2019-06-05 13:04:30 -07:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00