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
..
2019-12-05 15:37:56 +01:00
2019-11-10 11:25:32 +01:00
2019-09-16 08:20:44 +02:00
2019-06-22 08:16:14 +02:00
2019-12-05 15:38:15 +01:00
2019-11-06 12:43:37 +01:00
2019-12-05 15:38:18 +01:00
2019-12-05 15:38:18 +01:00
2019-12-01 09:13:35 +01:00
2019-03-19 13:13:23 +01:00
2019-01-09 17:14:46 +01:00