All of lore.kernel.org
 help / color / mirror / Atom feed
* find_task_by_vpid() not protected
@ 2009-03-31 14:51 Ameya Palande
  0 siblings, 0 replies; only message in thread
From: Ameya Palande @ 2009-03-31 14:51 UTC (permalink / raw)
  To: Kanigeri, Hari; +Cc: linux-omap@vger.kernel.org

Hi Hari,

I found out that bridge_open() function is calling find_task_by_vpid()
without taking rcu_read_lock() or with tasklist_lock read-held.

Should we introduce proper read locking with following functions?
read_lock(&tasklist_lock);
read_unlock(&tasklist_lock);

Cheers,
Ameya.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-31 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 14:51 find_task_by_vpid() not protected Ameya Palande

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.