summaryrefslogtreecommitdiffstats
path: root/Documentation/gpio.txt
diff options
context:
space:
mode:
authorXiaotian Feng <xtfeng@gmail.com>2012-11-13 20:47:36 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-15 03:50:10 +0100
commit71c6c837a0fe9d291e0764503f09dac0fec59ce1 (patch)
tree64fc5d4c2cf468c841050bed08774bd254d5edbf /Documentation/gpio.txt
parentipv4/ip_vti.c: VTI fix post-decryption forwarding (diff)
downloadlinux-71c6c837a0fe9d291e0764503f09dac0fec59ce1.tar.xz
linux-71c6c837a0fe9d291e0764503f09dac0fec59ce1.zip
drivers/net: fix tasklet misuse issue
In commit 175c0dff, drivers uses tasklet_kill to avoid put disabled tasklet on the tasklet vec. But some of the drivers uses tasklet_init & tasklet_disable in the driver init code, then tasklet_enable when it is opened. This makes tasklet_enable on a killed tasklet and make ksoftirqd crazy then. Normally, drivers should use tasklet_init/tasklet_kill on device open/remove, and use tasklet_disable/tasklet_enable on device suspend/resume. Reported-by: Peter Wu <lekensteyn@gmail.com> Tested-by: Peter Wu <lekensteyn@gmail.com> Signed-off-by: Xiaotian Feng <dannyfeng@tencent.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/gpio.txt')
0 files changed, 0 insertions, 0 deletions