]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xsigo: Tx_tail goes outof bound
authorPradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Tue, 12 Jul 2016 20:14:34 +0000 (13:14 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 12 Jul 2016 20:14:34 +0000 (13:14 -0700)
commite99d5921a469023b7115efea1ad94c5fd09aaf32
tree737afdf8b9be3225e700c47ce0e0c2e598e33f40
parente4c2a242704148bb823f8faac397a7e5b2152139
xsigo: Tx_tail goes outof bound

Orabug: 23514725

Fixed a rare condition where tx_tail value goes out of bound, by properly
locking poll_tx

Signed-off-by: Pradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Reviewed-by: sajid zia <szia@oracle.com>
Reviewed-by: Haakon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
drivers/infiniband/ulp/xsigo/xve/xve_main.c