summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_3ad.c
diff options
context:
space:
mode:
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2008-12-26 01:36:33 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-26 01:36:33 -0800
commitd3fa4721456226d77475181a4bfbe5b3d899d65c (patch)
treea602610942cadbe5e44aa7549d0622bdb47730bf /drivers/net/bonding/bond_3ad.c
parent7adf1525befb5606462431eb1a4ea40ded5baef4 (diff)
downloadop-kernel-dev-d3fa4721456226d77475181a4bfbe5b3d899d65c.zip
op-kernel-dev-d3fa4721456226d77475181a4bfbe5b3d899d65c.tar.gz
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>
Diffstat (limited to 'drivers/net/bonding/bond_3ad.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud