Hayes Wang a7b8d60b37 r8152: check budget for r8152_poll()
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: d2187f8e4454 ("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>
2023-09-11 09:58:34 +01:00
..
2022-08-26 10:00:52 +01:00
2022-07-01 13:39:03 +01:00
2023-08-11 21:12:47 +02:00
2023-06-09 10:26:57 +01:00
2023-09-11 09:58:34 +01:00
2023-01-17 11:50:42 +01:00