commit | e2ddeba95c09d0d44719ff005e915dc06ff46571 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Nov 16 19:27:18 2010 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Nov 16 19:27:18 2010 -0800 |
tree | 840662eeaec906826885de85b7238afd6c8c1345 | |
parent | b93a22260f6f4bcf6c92c54de8530a97d3e921f0 [diff] |
ixgbe: refactor ixgbe_alloc_queues() I noticed ring variable was initialized before allocations, and that memory node management was a bit ugly. We also leak memory in case of ring allocations error. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>