From: Martin Schwidefsky Date: Wed, 4 Dec 2013 13:29:11 +0000 (+0100) Subject: s390/3270: fix use after free of tty3270_screen structure X-Git-Tag: v3.14-rc1~184^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03439e7d0a7ab3d77a74523b9ba64736c0fc28de;p=pandora-kernel.git s390/3270: fix use after free of tty3270_screen structure The deactivation and freeing of the tty view of the 3270 device can race with a tty3270_update invocation via the update timer. To fix this move the del_timer_sync call for the update timer from tty3270_free_view to tty3270_free prior to the tty3270_free_screen call. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed