1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 23:03:12 +02:00
openwrt-xburst/target/linux/generic-2.6/patches
nbd a7cb17cea9 Finally fix the pesky x86-2.6 block2mtd related crash (#1058)
When erasing blocks, block2mtd checks the block on the physical disk
to see if everything's filled with 0xff. When grabbing a page from the page
cache, it initializes the limit as <start address> + PAGE_SIZE.
Turns out that the pointer to the status page is (unsigned long *), and
thus it adds (PAGE_SIZE * 4).
This would never have been caught, if it wasn't for the unlikely event
that block2mtd catches the *last* page available in the system ram and
thus tries to scan 4 memory pages from there.
The absolutely trivial fix is to do a double cast (cast to (u8 *), add
PAGE_SIZE, then cast to (unsigned long *))

... and there was much rejoicing


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-18 13:52:14 +00:00
..
000-reinstate-devfs.patch Replace inode.u.generic_ip with inode.i_private 2006-12-18 21:57:24 +00:00
001-squashfs.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
002-squashfs_lzma.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
004-extra_optimization.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
006-gcc4_inline_fix.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
007-samsung_flash.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
008-mtd_uaccess.patch forward port missing parts of the mtd permission change in whiterussian (and add it to linux 2.6 as well) 2007-01-27 19:22:15 +00:00
010-disable_old_squashfs_compatibility.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
011-mips_boot.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
012-mips_cpu_tlb.patch move tlb change for mips 4KC to generic patches (required for most mips targets) 2007-02-13 00:55:11 +00:00
050-mtdpart_redboot_partition_truncate.patch Renamed 050-* to comply with patch naming convention. 2006-12-17 12:28:46 +00:00
100-netfilter_layer7_2.8.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
101-netfilter_layer7_pktmatch.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
110-ipp2p_0.8.1rc1.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
120-openswan-2.4.0.kernel-2.6-natt.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
130-netfilter-ipset.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
140-netfilter_time.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
150-netfilter_imq.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
160-netfilter_route.patch reorder netfilter patches, update layer7 kernel to latest version, should improve stability 2007-01-01 04:42:50 +00:00
170-netfilter_chaostables.patch Add chaostable from #1187, also enable netfilter modules for ixp4xx. 2007-01-22 23:55:22 +00:00
200-sched_esfq.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
201-multiple_default_gateways.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
202-mips-freestanding.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
204-jffs2_eofdetect.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
207-powerpc_asm_segment_h.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
208-rtl8110sb_fix.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
209-mini_fo.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
210-d80211_compat.patch add compatibility patch for d80211 2006-12-30 17:52:58 +00:00
211-no_block2mtd_readahead.patch disable block2mtd page readahead (patch from #1058) 2007-02-01 21:35:25 +00:00
212-block2mtd_erase_scan.patch Finally fix the pesky x86-2.6 block2mtd related crash (#1058) 2007-02-18 13:52:14 +00:00
900-headers_type_and_time.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
901-asm_bitops_include.patch Upgrade to Linux 2.6.19 2006-12-14 16:41:33 +00:00
902-darwin_scripts_include.patch fix kernel compile on real operating systems :P (closes #1150) 2007-01-05 19:47:31 +00:00
903-stddef_include.patch add fix for kernel headers to allow offsetof access from user space 2007-02-14 02:42:08 +00:00