diff options
| author | Xiaotian Feng <[email protected]> | 2012-10-30 22:06:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-11-03 19:10:14 +0000 |
| commit | d145f7ec23b6366e2b75442eaefafa11077ed568 (patch) | |
| tree | e4e55db0052c66711670fd8c60207adbb06d4000 /net/tipc/handler.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
| download | kernel-d145f7ec23b6366e2b75442eaefafa11077ed568.tar.gz kernel-d145f7ec23b6366e2b75442eaefafa11077ed568.zip | |
tipc: do not use tasklet_disable before tasklet_kill
If tasklet_disable() is called before related tasklet handled,
tasklet_kill will never be finished. tasklet_kill is enough.
Signed-off-by: Xiaotian Feng <[email protected]>
Cc: Jon Maloy <[email protected]>
Cc: Allan Stephens <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/handler.c')
| -rw-r--r-- | net/tipc/handler.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tipc/handler.c b/net/tipc/handler.c index 111ff8300ae5..b36f0fcd9bdf 100644 --- a/net/tipc/handler.c +++ b/net/tipc/handler.c @@ -116,7 +116,6 @@ void tipc_handler_stop(void) return; handler_enabled = 0; - tasklet_disable(&tipc_tasklet); tasklet_kill(&tipc_tasklet); spin_lock_bh(&qitem_lock); |
