qlge: Fix memory leak in the process of refill
authorJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Fri, 3 Feb 2012 14:06:51 +0000 (14:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Feb 2012 20:59:31 +0000 (15:59 -0500)
commit81f25d96f1c9fa116f9c6f06ae490c2f8fa5ebaf
tree98a317aea5d188373e1b290fa22b045d534dcd54
parent19257f5a1a20ceacb49a474ce39108f75ea51886
qlge: Fix memory leak in the process of refill

Driver was leaking memory when page allocation failures occurs.

Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c