From a9f488831cb4e95d0c6464e2c68cf87cd75dfd87 Mon Sep 17 00:00:00 2001 From: Alan Date: Mon, 17 Feb 2014 14:13:08 +0000 Subject: [PATCH] staging: et131x: fix allocation failures We should check the ring allocations don't fail. If we get a fail we need to clean up properly. The allocator assumes the deallocator will be used on failure, but it isn't. Make sure the right deallocator is always called and add a missing check against fbr allocation failure. [v2]: Correct check logic Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed