From: Vasily Averin Date: Wed, 27 Sep 2006 19:54:14 +0000 (-0700) Subject: e1000: possible memory leak in e1000_set_ringparam X-Git-Tag: v2.6.19-rc1~372^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793fab727324adc90a0a2889f2b1d88bae4790eb;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Auke Kok --- Reading git-diff-tree failed