Commit 7075262
r8152: avoid start_xmit to schedule napi when napi is disabled
[ Upstream commit de9bf29dd6e4a8a874cb92f8901aed50a9d0b1d3 ]
Stop the tx when the napi is disabled to prevent napi_schedule() is
called.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 5270bf6 commit 7075262
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2993 | 2993 | | |
2994 | 2994 | | |
2995 | 2995 | | |
| 2996 | + | |
2996 | 2997 | | |
2997 | 2998 | | |
2998 | 2999 | | |
2999 | 3000 | | |
| 3001 | + | |
| 3002 | + | |
3000 | 3003 | | |
3001 | 3004 | | |
3002 | 3005 | | |
3003 | 3006 | | |
3004 | 3007 | | |
3005 | 3008 | | |
3006 | 3009 | | |
| 3010 | + | |
3007 | 3011 | | |
3008 | 3012 | | |
3009 | 3013 | | |
| |||
3388 | 3392 | | |
3389 | 3393 | | |
3390 | 3394 | | |
| 3395 | + | |
3391 | 3396 | | |
3392 | 3397 | | |
3393 | 3398 | | |
3394 | 3399 | | |
3395 | 3400 | | |
3396 | | - | |
3397 | 3401 | | |
3398 | 3402 | | |
3399 | 3403 | | |
| |||
3421 | 3425 | | |
3422 | 3426 | | |
3423 | 3427 | | |
3424 | | - | |
3425 | 3428 | | |
3426 | 3429 | | |
3427 | 3430 | | |
| 3431 | + | |
3428 | 3432 | | |
3429 | 3433 | | |
3430 | 3434 | | |
| |||
0 commit comments