[patch 01/11] e1000: memory leak in e1000_set_ringparam()

2006-09-25 Thread akpm
From: Vasily Averin [EMAIL PROTECTED] Memory leak was found in 2.6.18-rc4 and e1000 7.2.7 from sourceforge: 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

Re: [patch 01/11] e1000: memory leak in e1000_set_ringparam()

2006-09-25 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: From: Vasily Averin [EMAIL PROTECTED] Memory leak was found in 2.6.18-rc4 and e1000 7.2.7 from sourceforge: 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

Re: [patch 01/11] e1000: memory leak in e1000_set_ringparam()

2006-09-25 Thread Auke Kok
Jeff Garzik wrote: [EMAIL PROTECTED] wrote: From: Vasily Averin [EMAIL PROTECTED] Memory leak was found in 2.6.18-rc4 and e1000 7.2.7 from sourceforge: 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