From: Mike Isely Date: Mon, 7 Apr 2008 05:22:43 +0000 (-0300) Subject: V4L/DVB (7712): pvrusb2: Close connect/disconnect race X-Git-Tag: v2.6.26-rc1~1084^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f26ff6049a7fff5460cebe392ad1d699dc434c;p=pandora-kernel.git V4L/DVB (7712): pvrusb2: Close connect/disconnect race If a disconnect happens before initialization is completed, the pvrusb2 driver can accidentally touch dangling pointers. The whole initialization function must be protected by the big_lock, and once inside that lock, the initialization function should abort if it is discovered that a disconnect has already taken place. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed