tipc: do not use tasklet_disable before tasklet_kill
authorXiaotian Feng <xtfeng@gmail.com>
Tue, 30 Oct 2012 22:06:01 +0000 (22:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 19:10:14 +0000 (15:10 -0400)
commitd145f7ec23b6366e2b75442eaefafa11077ed568
treee4e55db0052c66711670fd8c60207adbb06d4000
parent0f89a5733a8d28174c7adeb1fdc20ac11439e766
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 <dannyfeng@tencent.com>
Cc: Jon Maloy <jon.maloy@ericsson.com>
Cc: Allan Stephens <allan.stephens@windriver.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Cc: tipc-discussion@lists.sourceforge.net
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/handler.c