summarylogtreecommitdiffstats
path: root/linux-cjktty-patch-for-5.4.62+.patch
blob: 4f6e7877c5d33fec04bce3d1ed1c2bc612f4f01c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-cjktty-5.4.61.patch	2020-09-05 10:35:09.000000000 +0800
+++ linux-cjktty-5.4.62.patch	2020-09-05 20:41:19.000000000 +0800
@@ -169,7 +169,7 @@
 + 		scr_memsetw((void *)new_origin + (new_screen_size), vc->vc_video_erase_char,
 + 			    new_scr_end - new_origin);
 +	}
- 	kfree(vc->vc_screenbuf);
+ 	oldscreen = vc->vc_screenbuf;
  	vc->vc_screenbuf = newscreen;
  	vc->vc_screenbuf_size = new_screen_size;
 @@ -2601,6 +2635,8 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int co