Gregory CLEMENT b388fc7405 net: hwbm: Fix unbalanced spinlock in error case
When hwbm_pool_add exited in error the spinlock was not released. This
patch fixes this issue.

Fixes: 8cb2d8bf57e6 ("net: add a hardware buffer management helper API")
Reported-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-25 12:35:09 -07:00
..
2016-04-13 10:41:10 +02:00
2016-03-17 21:05:01 -04:00
2016-05-23 13:51:10 -07:00
2016-05-11 19:36:28 -04:00
2016-05-12 11:46:58 -04:00
2016-05-20 14:35:07 -07:00
2016-05-08 23:46:14 -04:00