]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xsigo: Fix spinlock release in case of error
authorPradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Tue, 14 Mar 2017 00:04:57 +0000 (17:04 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 30 May 2017 05:40:12 +0000 (22:40 -0700)
commit1060836a05d9026221024b4f3f1e6569e5ee9f1d
tree2c514de22400fd6768c5a6f42eaac1df79d86535
parent181bda42044a0f875b2356fab94a002ef54d3b2b
xsigo: Fix spinlock release in case of error

Orabug: 25779803

In forwarding table lookup function, xve_fwt_lookup(),
in case of error condition xve_fwt lock is not released.
This commit fixes this bug by releasing xve_fwt lock on error.

Reviewed-by: Chien Yen <chien.yen@oracle.com>
Signed-off-by: Pradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
drivers/infiniband/ulp/xsigo/xscore/Makefile
drivers/infiniband/ulp/xsigo/xsvhba/Makefile
drivers/infiniband/ulp/xsigo/xsvnic/Makefile
drivers/infiniband/ulp/xsigo/xve/Makefile
drivers/infiniband/ulp/xsigo/xve/xve_tables.c