linux-omap.vger.kernel.org archive mirror
 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).