diff options
author | Sukadev Bhattiprolu <sukadev@linux.ibm.com> | 2021-06-23 21:13:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-24 11:22:23 -0700 |
commit | 72368f8b2b9e4106072a2728bed3367d54641c22 (patch) | |
tree | a61bffb41a241fea14fe5e4766d03334e016d1b4 /drivers/perf/qcom_l3_pmu.c | |
parent | 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8 (diff) |
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 <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/perf/qcom_l3_pmu.c')
0 files changed, 0 insertions, 0 deletions