openwrt/target/linux/generic
John Thomson bf2870c1d9 kernel: fix mtd partition erase < parent_erasesize writes
This bug applied where mtd partition end address,
or erase start address, was not cleanly divisible by parent mtd erasesize.

This error would cause the bits following the end of the partition
to the next erasesize block boundary to be erased,
and this partition-overflow data to be written to the partition erase
address (missing additional partition offset address)
of the mtd (top) parent device.

Fixes: FS#2428

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Tested-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
[shorten commit title, add Fixes, fix kernel 4.19 as well]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-19 12:41:29 +02:00
..
backport-4.19 kernel: use proper upstream inclusion version for patch 2020-09-11 18:40:44 +02:00
backport-5.4 ramips/mediatek: improve GRO performance, fix PPE packet parsing 2020-09-13 11:14:32 +02:00
files kernel: add support for ALLNET devices in mtdsplit 2020-09-14 07:54:30 +02:00
hack-4.19 kernel: add patch that adds support for running threaded NAPI poll functions 2020-08-22 07:02:01 +02:00
hack-5.4 kernel: bump 5.4 to 5.4.65 2020-09-12 23:39:25 +02:00
image
other-files
pending-4.19 kernel: fix mtd partition erase < parent_erasesize writes 2020-09-19 12:41:29 +02:00
pending-5.4 kernel: fix mtd partition erase < parent_erasesize writes 2020-09-19 12:41:29 +02:00
config-4.19 kernel: add recently introduced CONFIG_MTD_SPLIT_ELF_FW 2020-09-09 22:09:19 +02:00
config-5.4 kernel: add recently introduced CONFIG_MTD_SPLIT_ELF_FW 2020-09-09 22:09:19 +02:00
PATCHES