Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net: hwbm: Fix unbalanced spinlock in error case | Gregory CLEMENT | 2016-05-25 | 1 | -0/+3 |
| | | | | | | | | | | | 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> | ||||
* | net: add a hardware buffer management helper API | Gregory CLEMENT | 2016-03-14 | 1 | -0/+87 |
This basic implementation allows to share code between driver using hardware buffer management. As the code is hardware agnostic, there is few helpers, most of the optimization brought by the an HW BM has to be done at driver level. Tested-by: Sebastian Careba <nitroshift@yahoo.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net> |