commit | b388fc7405e901c7d6f7817d05193c054e761815 | [log] [tgz] |
---|---|---|
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | Tue May 24 18:03:26 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 25 12:35:09 2016 -0700 |
tree | 2505b959841980d5794823c8a9fb4241a5be304a | |
parent | 91c45e38b9478ff507e05f10151d64cd0d1aad7b [diff] |
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>