]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Set IPOIB_NEIGH_TBL_FLUSH after flushed completion initialization
authorFeras Daoud <ferasda@mellanox.com>
Sun, 16 Jul 2017 08:33:01 +0000 (11:33 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 23 Jul 2017 06:45:11 +0000 (09:45 +0300)
commit42cd84fcd8f1a495baed603a8cf3de32534b1a32
treec6b1757b8a42d42ea95bd0f680bb3eeca067eb0b
parent8c9c497b7d2b6f10477a0e4a8cb53e9e4ba20f6e
IB/ipoib: Set IPOIB_NEIGH_TBL_FLUSH after flushed completion initialization

Set IPOIB_NEIGH_TBL_FLUSH bit after initializing the neighbor
flushed completion, otherwise the garbage collector may signal
a completion while it is not initialized yet.

Fixes: 0c33600d854e ("IPoIB: Use a private hash table for path lookup in xmit path")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/ipoib/ipoib_main.c