summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.9/643-bridge_remove_ipv6_dependency.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update linux 3.9 to 3.9.8Jonas Gorski2013-06-301-2/+2
| | | | | | | | Includes memory allocation fixes as well as several networking fixes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37103
* kernel: update linux 3.9 patches to rc8Jonas Gorski2013-04-281-4/+4
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36469
* linux/3.[89]: update bridge_remove_ipv6_dependency patchGabor Juhos2013-04-191-5/+5
| | | | | | | | | | | | Fixes the following warning: CC [M] net/ipv6/addrconf.o net/ipv6/addrconf.c: In function 'addrconf_init': net/ipv6/addrconf.c:4944:2: warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36364
* kernel: refresh patches against 3.9-rc6Florian Fainelli2013-04-091-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36297
* kernel: add support for 3.9-rc2Florian Fainelli2013-03-141-0/+107
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36008
} /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
From ff3409ab17d56450943364ba49a16960e3cdda9b Mon Sep 17 00:00:00 2001
From: Jonas Gorski <jogo@openwrt.org>
Date: Sun, 6 Apr 2014 22:33:16 +0200
Subject: [RFC] jffs2: work around unaligned accesses failing on bcm63xx/smp

Unligned memcpy_fromio randomly fails with an unaligned dst. Work around
it by ensuring we are always doing aligned copies.

Should fix filename corruption in jffs2 with SMP.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
---
 fs/jffs2/nodelist.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/jffs2/nodelist.h
+++ b/fs/jffs2/nodelist.h
@@ -259,7 +259,7 @@ struct jffs2_full_dirent
 	uint32_t ino; /* == zero for unlink */
 	unsigned int nhash;
 	unsigned char type;
-	unsigned char name[0];
+	unsigned char name[0] __attribute__((aligned((sizeof(long)))));
 };
 
 /*