Files
linux/drivers
Hayes Wang 864da4a5d5 r8152: check budget for r8152_poll()
[ Upstream commit a7b8d60b37 ]

According to the document of napi, there is no rx process when the
budget is 0. Therefore, r8152_poll() has to return 0 directly when the
budget is equal to 0.

Fixes: d2187f8e44 ("r8152: divide the tx and rx bottom functions")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:23:03 +02:00
..
2023-09-19 12:22:47 +02:00
2023-08-03 10:22:26 +02:00
2023-07-23 13:47:51 +02:00
2023-09-19 12:23:03 +02:00
2023-07-23 13:47:25 +02:00
2023-04-05 11:24:55 +02:00
2023-09-19 12:22:48 +02:00
2022-08-25 11:40:33 +02:00
2023-07-23 13:47:20 +02:00