projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c29dde
)
r8152: clear the flag of SCHEDULE_TASKLET in tasklet
author
hayeswang
<hayeswang@realtek.com>
Wed, 12 Nov 2014 02:05:04 +0000
(10:05 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 12 Nov 2014 19:49:08 +0000
(14:49 -0500)
Clear the flag of SCHEDULE_TASKLET in bottom_half() to avoid
re-schedule the tasklet again by workqueue.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/r8152.c
b/drivers/net/usb/r8152.c
index a3004675e659595608083bcf23c79480d08ce18e..ad9dd7d175080e58a7312211b4e35d763ccd6862 100644
(file)
--- a/
drivers/net/usb/r8152.c
+++ b/
drivers/net/usb/r8152.c
@@
-1797,6
+1797,8
@@
static void bottom_half(unsigned long data)
if (!netif_carrier_ok(tp->netdev))
return;
+ clear_bit(SCHEDULE_TASKLET, &tp->flags);
+
rx_bottom(tp);
tx_bottom(tp);
}