Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/sfc
Jiasheng Jiang 2792fde84c sfc: falcon: Check null pointer of rx_queue->page_ring
[ Upstream commit 9b8bdd1eb5890aeeab7391dddcf8bd51f7b07216 ]

Because of the possible failure of the kcalloc, it should be better to
set rx_queue->page_ptr_mask to 0 when it happens in order to maintain
the consistency.

Fixes: 5a6681e22c ("sfc: separate out SFC4000 ("Falcon") support into new sfc-falcon driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20211220140344.978408-1-jiasheng@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-29 12:25:58 +01:00
..
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-09-11 17:15:22 -07:00
2020-09-21 13:55:13 -07:00
2020-07-27 12:26:55 -07:00
2020-08-14 14:07:16 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-06-29 17:37:48 -07:00
2020-09-07 14:46:13 -07:00
2020-09-25 16:29:00 -07:00
2020-09-11 17:15:22 -07:00
2020-06-29 17:37:48 -07:00
2020-08-23 17:36:59 -05:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-07-27 12:26:55 -07:00
2020-09-11 17:15:22 -07:00