From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Date: Wed, 07 Mar 2012 15:45:17 +0000 Subject: Re: [PATCH] uevent: send events in correct order according to seqnum (v3) Message-Id: <20120307154517.GA16080@kroah.com> List-Id: References: <1331117396-11600-1-git-send-email-avagin@openvz.org> In-Reply-To: <1331117396-11600-1-git-send-email-avagin@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Vagin Cc: Kay Sievers , linux-hotplug@vger.kernel.org, linux-kernel@vger.kernel.org On Wed, Mar 07, 2012 at 02:49:56PM +0400, Andrew Vagin wrote: > The queue handling in the udev daemon assumes that the events are > ordered. > > Before this patch uevent_seqnum is incremented under sequence_lock, > than an event is send uner uevent_sock_mutex. I want to say that code > contained a window between incrementing seqnum and sending an event. Is this something that you have seen "in the wild"? If so, we should backport it to older kernels as well, right? thanks, greg k-h