diff options
| author | Sukadev Bhattiprolu <[email protected]> | 2021-06-24 04:13:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-24 18:22:23 +0000 |
| commit | 72368f8b2b9e4106072a2728bed3367d54641c22 (patch) | |
| tree | a61bffb41a241fea14fe5e4766d03334e016d1b4 /drivers/fpga/of-fpga-region.c | |
| parent | ibmvnic: clean pending indirect buffs during reset (diff) | |
| download | kernel-72368f8b2b9e4106072a2728bed3367d54641c22.tar.gz kernel-72368f8b2b9e4106072a2728bed3367d54641c22.zip | |
ibmvnic: account for bufs already saved in indir_buf
This fixes a crash in replenish_rx_pool() when called from ibmvnic_poll()
after a previous call to replenish_rx_pool() encountered an error when
allocating a socket buffer.
Thanks to Rick Lindsley and Dany Madden for helping debug the crash.
Fixes: 4f0b6812e9b9 ("ibmvnic: Introduce batched RX buffer descriptor transmission")
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/of-fpga-region.c')
0 files changed, 0 insertions, 0 deletions
