commit | d3fa4721456226d77475181a4bfbe5b3d899d65c | [log] [tgz] |
---|---|---|
author | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | Fri Dec 26 01:36:33 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 26 01:36:33 2008 -0800 |
tree | a602610942cadbe5e44aa7549d0622bdb47730bf | |
parent | 7adf1525befb5606462431eb1a4ea40ded5baef4 [diff] |
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>