diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-10-26 11:31:47 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-26 16:08:56 -0700 |
commit | 6d9f4fc420571ab67c962ef0d94449127218f66e (patch) | |
tree | ae459220577e6435473a7a94e0a32947b826bf5b /sound | |
parent | d3da68310a2cf934c2ea8a99a519d8b1ccca4c56 (diff) |
igb: fix memory leak when setting ring size while interface is down
Changing ring sizes while the interface was down was causing a double
allocation of the receive and transmit rings. This issue is amplified when
there are multiple rings enabled. To prevent this we need to add an
additional check which will just update the ring counts when the interface
is not up and skip the allocation steps.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions