android_kernel_xiaomi_sm8350/drivers/net/ixgbe
Peter P Waskiewicz Jr d3fa472145 ixgbe: Fix set_ringparam in ixgbe to use the same memory pools.
The adapter rings are kcalloc()'d, but in set_ringparam() in ixgbe_ethtool,
we replace that memory from the vmalloc() pool.  This can result in a NULL
pointer reference when trying to modify the rings at a later time, or on
device removal.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-26 01:36:33 -08:00
..
ixgbe_82598.c drivers/net/ixgbe: fix sparse warnings: make symbols static 2008-12-26 00:03:59 -08:00
ixgbe_common.c ixgbe: Whitespace, copyright update and version number change patch 2008-09-24 18:55:05 -04:00
ixgbe_common.h ixgbe: Whitespace, copyright update and version number change patch 2008-09-24 18:55:05 -04:00
ixgbe_dcb_82598.c drivers/net/ixgbe: fix sparse warnings: make symbols static 2008-12-26 00:03:59 -08:00
ixgbe_dcb_82598.h ixgbe: this patch adds support for DCB to the kernel and ixgbe driver 2008-11-20 20:52:10 -08:00
ixgbe_dcb_nl.c ixgbe: Fix NAPI enable/disable path when using DCB 2008-12-26 01:36:05 -08:00
ixgbe_dcb.c ixgbe: this patch adds support for DCB to the kernel and ixgbe driver 2008-11-20 20:52:10 -08:00
ixgbe_dcb.h DCB: Add support for DCB BCN 2008-11-20 21:10:23 -08:00
ixgbe_ethtool.c ixgbe: Fix set_ringparam in ixgbe to use the same memory pools. 2008-12-26 01:36:33 -08:00
ixgbe_main.c ixgbe: Fix NAPI enable/disable path when using DCB 2008-12-26 01:36:05 -08:00
ixgbe_phy.c ixgbe: add SFP+ driver support 2008-11-20 21:11:42 -08:00
ixgbe_phy.h ixgbe: add SFP+ driver support 2008-11-20 21:11:42 -08:00
ixgbe_type.h ixgbe: add SFP+ driver support 2008-11-20 21:11:42 -08:00
ixgbe.h ixgbe: Implement PCIe AER support 2008-12-10 01:13:08 -08:00
Makefile DCB: fix kconfig option 2008-11-25 01:02:08 -08:00