Spidernet RX skb mem leak
authorLinas Vepstas <linas@austin.ibm.com>
Wed, 13 Dec 2006 21:15:15 +0000 (15:15 -0600)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:44 +0000 (16:58 -0500)
commit05b346b552e13cc090ea908e2be183b377ff30a2
tree2ff85c154bc808f6567f014e0b57df9bf0591e37
parent1cd173f66c392ede57fa10f614fca22d79501424
Spidernet RX skb mem leak

One of the unlikely error branches has an skb memory leak.
Fix this by handling the error conditions consistently.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: James K Lewis <jklewis@us.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/spider_net.c