summaryrefslogtreecommitdiffstats
path: root/drivers/net/shaper.c
diff options
context:
space:
mode:
authorVasily Averin <vvs@sw.ru>2006-09-27 21:54:14 +0200
committerAuke Kok <juke-jan.h.kok@intel.com>2006-09-27 21:54:14 +0200
commit793fab727324adc90a0a2889f2b1d88bae4790eb (patch)
treeeadf2858ba29efe65cb416d74cb3afcc194715f3 /drivers/net/shaper.c
parente1000: Janitor: Use #defined values for literals (diff)
downloadlinux-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