]> git.ipfire.org Git - people/arne_f/kernel.git/commit
watchdog: ts72xx_wdt: locking bug in ioctl
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Aug 2013 08:40:59 +0000 (11:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Oct 2013 17:54:56 +0000 (10:54 -0700)
commitbf597fb46661add46ee8c4705f5e4e1106bb1826
treec3484958857d44152ba1d644636266873dcd71fc
parenta04324b3536234679d98bc98fc37ccd755440446
watchdog: ts72xx_wdt: locking bug in ioctl

commit 8612ed0d97abcf1c016d34755b7cf2060de71963 upstream.

Calling the WDIOC_GETSTATUS & WDIOC_GETBOOTSTATUS and twice will cause a
interruptible deadlock.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/ts72xx_wdt.c