From: Jiri Benc Date: Fri, 21 Aug 2015 10:41:14 +0000 (+0200) Subject: route: fix breakage after moving lwtunnel state X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=751a587ac9f9a8bf314590fbac32d9e418060c5a;p=pandora-kernel.git route: fix breakage after moving lwtunnel state __recnt and related fields need to be in its own cacheline for performance reasons. Commit 61adedf3e3f1 ("route: move lwtunnel state to dst_entry") broke that on 32bit archs, causing BUILD_BUG_ON in dst_hold to be triggered. This patch fixes the breakage by moving the lwtunnel state to the end of dst_entry on 32bit archs. Unfortunately, this makes it share the cacheline with __refcnt and may affect performance, thus further patches may be needed. Reported-by: kbuild test robot Fixes: 61adedf3e3f1 ("route: move lwtunnel state to dst_entry") Signed-off-by: Jiri Benc Signed-off-by: David S. Miller --- Reading git-diff-tree failed