mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/7] Intro: convert lockd to kthread and fix use-after-free (try #2)
@ 2007-12-18 16:42 Jeff Layton
  2007-12-18 16:42 ` [PATCH 1/7] SUNRPC: Allow svc_pool_map_set_cpumask to work with any task Jeff Layton
  0 siblings, 1 reply; 10+ messages in thread
From: Jeff Layton @ 2007-12-18 16:42 UTC (permalink / raw)
  To: linux-nfs; +Cc: linux-kernel, nfsv4

This is the second patchset to fix the use-after-free problem in lockd,
and to convert lockd to use the kthread API instead of kernel_thread.
The main change from the last patchset is that svc_prepare_thread is
now exported and svc_create_kthread no longer calls it. The caller of
svc_create_kthread must now call it (or do the equivalent to set up
the svc_rqst.

Tested against the reproducer I have for the main issue (detailed in
patch #7). As always, comments and suggestions are appreciated.

Signed-off-by: Jeff Layton <jlayton@redhat.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/7] Intro: convert lockd to kthread and fix use-after-free (try #3)
@ 2007-12-18 20:19 Jeff Layton
  2007-12-18 20:19 ` [PATCH 1/7] SUNRPC: Allow svc_pool_map_set_cpumask to work with any task Jeff Layton
  0 siblings, 1 reply; 10+ messages in thread
From: Jeff Layton @ 2007-12-18 20:19 UTC (permalink / raw)
  To: linux-nfs; +Cc: linux-kernel, nfsv4

This is the third patchset to fix the use-after-free problem in lockd,
and to convert lockd to use the kthread API instead of kernel_thread.
The main change from the last patchset is the elimination of the
svc_create_kthread helper function, and having lockd_up call kthread_run
directly. I've also made some changes to the function prototype for
the lockd function to eliminate the need for casting the function
pointer.

Tested against the reproducer I have for the main issue (detailed in
patch #7). As always, comments and suggestions are appreciated.

Signed-off-by: Jeff Layton <jlayton@redhat.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-12-18 20:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-18 16:42 [PATCH 0/7] Intro: convert lockd to kthread and fix use-after-free (try #2) Jeff Layton
2007-12-18 16:42 ` [PATCH 1/7] SUNRPC: Allow svc_pool_map_set_cpumask to work with any task Jeff Layton
2007-12-18 16:42   ` [PATCH 2/7] SUNRPC: spin svc_rqst initialization to its own function Jeff Layton
2007-12-18 16:42     ` [PATCH 3/7] SUNRPC: make new svc_create_kthread function Jeff Layton
2007-12-18 16:42       ` [PATCH 4/7] NLM: Initialize completion variable in lockd_up Jeff Layton
2007-12-18 16:42         ` [PATCH 5/7] NLM: Have lockd call try_to_freeze Jeff Layton
2007-12-18 16:42           ` [PATCH 6/7] NLM: Convert lockd to use kthreads Jeff Layton
2007-12-18 16:42             ` [PATCH 7/7] NLM: Add reference counting to lockd Jeff Layton
2007-12-18 17:10       ` [PATCH 3/7] SUNRPC: make new svc_create_kthread function Christoph Hellwig
2007-12-18 20:19 [PATCH 0/7] Intro: convert lockd to kthread and fix use-after-free (try #3) Jeff Layton
2007-12-18 20:19 ` [PATCH 1/7] SUNRPC: Allow svc_pool_map_set_cpumask to work with any task Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome