diff options
author | 2021-06-23 21:13:13 -0700 | |
---|---|---|
committer | 2021-06-24 11:22:23 -0700 | |
commit | 72368f8b2b9e4106072a2728bed3367d54641c22 (patch) | |
tree | a61bffb41a241fea14fe5e4766d03334e016d1b4 /net/unix/af_unix.c | |
parent | ibmvnic: clean pending indirect buffs during reset (diff) | |
download | wireguard-linux-72368f8b2b9e4106072a2728bed3367d54641c22.tar.xz wireguard-linux-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 <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions