diff options
author | Peter P Waskiewicz Jr <[email protected]> | 2008-12-26 01:36:33 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2008-12-26 01:36:33 -0800 |
commit | d3fa4721456226d77475181a4bfbe5b3d899d65c (patch) | |
tree | a602610942cadbe5e44aa7549d0622bdb47730bf /net/lapb/lapb_subr.c | |
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 <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions