ll_temac: fix DMA resources leak
authorDenis Kirjanov <dkirjanov@hera.kernel.org>
Thu, 8 Jul 2010 10:24:51 +0000 (10:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2010 06:39:49 +0000 (23:39 -0700)
commit301e9d96bf65292f916a3936d63c504ac7792ee6
treed8262d45ab7bbd348f7993cad9f7704574c008f8
parent47562e5d325af9ce5306bce53eb7cdd353fe46be
ll_temac: fix DMA resources leak

V2: Check pointers before releasing resources.

Fix DMA resources leak.
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
drivers/net/ll_temac_main.c