Commit 7e92702
r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY
commit d516b18 upstream.
The skb isn't consumed in case of NETDEV_TX_BUSY, therefore don't
increment the tx_dropped counter.
Fixes: 188f4af ("r8169: use NETDEV_TX_{BUSY/OK}")
Cc: [email protected]
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent f2b5be3 commit 7e92702
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4256 | 4256 | | |
4257 | 4257 | | |
4258 | 4258 | | |
4259 | | - | |
| 4259 | + | |
| 4260 | + | |
4260 | 4261 | | |
4261 | 4262 | | |
4262 | 4263 | | |
| |||
4312 | 4313 | | |
4313 | 4314 | | |
4314 | 4315 | | |
4315 | | - | |
4316 | | - | |
4317 | | - | |
4318 | | - | |
4319 | | - | |
4320 | 4316 | | |
4321 | 4317 | | |
4322 | 4318 | | |
| |||
0 commit comments