summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2012-05-16 04:06:14 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-21 09:40:03 -0700
commitf4f388bce9ef18d7ab4e234495d52cc7e716ab3b (patch)
treea8035610dadbe1d72c143ea7a43170ca73e38049 /net/ipv4/tcp.c
parent04a4aeb4052eec420eb1a50ab1cba1f359223e37 (diff)
MD: Add del_timer_sync to mddev_suspend (fix nasty panic)
commit 0d9f4f135eb6dea06bdcb7065b1e4ff78274a5e9 upstream. Use del_timer_sync to remove timer before mddev_suspend finishes. We don't want a timer going off after an mddev_suspend is called. This is especially true with device-mapper, since it can call the destructor function immediately following a suspend. This results in the removal (kfree) of the structures upon which the timer depends - resulting in a very ugly panic. Therefore, we add a del_timer_sync to mddev_suspend to prevent this. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions