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_common.h
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_dcb_nl.c ixgbe: Fix NAPI enable/disable path when using DCB 2008-12-26 01:36:05 -08:00
ixgbe_dcb.c
ixgbe_dcb.h
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_phy.h
ixgbe_type.h
ixgbe.h ixgbe: Implement PCIe AER support 2008-12-10 01:13:08 -08:00
Makefile