aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorUrsula Braun <[email protected]>2018-11-20 16:46:43 +0100
committerDavid S. Miller <[email protected]>2018-11-21 16:14:56 -0800
commite438bae43c1e08e688c09c410407b59fc1c173b4 (patch)
tree7325b43e2c0690f4f0944ae97096fda4cadefade /net/switchdev/switchdev.c
parentb9a22dd9811dbcddb5623c499e5b736400059df6 (diff)
net/smc: use after free fix in smc_wr_tx_put_slot()
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions