diff options
author | Vasily Averin <vvs@sw.ru> | 2006-09-27 12:54:14 -0700 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-09-27 12:54:14 -0700 |
commit | 793fab727324adc90a0a2889f2b1d88bae4790eb (patch) | |
tree | eadf2858ba29efe65cb416d74cb3afcc194715f3 /drivers/net/ixgb | |
parent | dbf38c9474306297866d9c2af02c2d37c5165325 (diff) |
e1000: possible memory leak in e1000_set_ringparam
Memory allocated for new tx_ring and rx_ring leaks if
e1000_setup_XX_resources() fails.c Also this patch reduces stack usage
(removed tx_new and rx_new) and uses kzalloc instead kmalloc+memset(0)
Signed-off-by: Vasily Averin <vvs@sw.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/ixgb')
0 files changed, 0 insertions, 0 deletions