Ursula Braun 7d04bd4fe9 net/smc: use after free fix in smc_wr_tx_put_slot()
[ Upstream commit e438bae43c1e08e688c09c410407b59fc1c173b4 ]

In smc_wr_tx_put_slot() field pend->idx is used after being
cleared. That means always idx 0 is cleared in the wr_tx_mask.
This results in a broken administration of available WR send
payload buffers.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-17 20:38:01 +01:00
..
2017-07-29 11:22:58 -07:00
2019-09-06 10:20:50 +02:00
2019-01-09 17:14:46 +01:00