mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
d3fa472145
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> |
||
---|---|---|
.. | ||
ixgbe.h | ||
ixgbe_82598.c | ||
ixgbe_common.c | ||
ixgbe_common.h | ||
ixgbe_dcb.c | ||
ixgbe_dcb.h | ||
ixgbe_dcb_82598.c | ||
ixgbe_dcb_82598.h | ||
ixgbe_dcb_nl.c | ||
ixgbe_ethtool.c | ||
ixgbe_main.c | ||
ixgbe_phy.c | ||
ixgbe_phy.h | ||
ixgbe_type.h | ||
Makefile |