diff options
author | Vasily Averin <vvs@sw.ru> | 2006-09-27 21:54:14 +0200 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-09-27 21:54:14 +0200 |
commit | 793fab727324adc90a0a2889f2b1d88bae4790eb (patch) | |
tree | eadf2858ba29efe65cb416d74cb3afcc194715f3 /drivers/net/shaper.c | |
parent | e1000: Janitor: Use #defined values for literals (diff) | |
download | linux-793fab727324adc90a0a2889f2b1d88bae4790eb.tar.xz linux-793fab727324adc90a0a2889f2b1d88bae4790eb.zip |
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/shaper.c')
0 files changed, 0 insertions, 0 deletions