lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201110311129.25277.oliver@neukum.org>
Date:	Mon, 31 Oct 2011 11:29:25 +0100
From:	Oliver Neukum <oliver@...kum.org>
To:	Frank Schäfer <fschaefer.oss@...glemail.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: kernel panic on device removal when using a workqueue and delayed_work

Am Montag, 31. Oktober 2011, 11:26:58 schrieb Frank Schäfer:
> Am 31.10.2011 04:11, schrieb Yong Zhang:

> >> This is the first time I'm using a workqueue, so there is a good
> >> chance that I missed something...
> > You should cancel the work you have armed before exit.
> > See cancel_delayed_work().
> That's what I'm doing (see above).
> Did you read the code ? ;-)

Does it work if you set a flag and resubmit the work only conditionally
on it?

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ