aboutsummaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2015-08-21 12:41:14 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-23 16:51:17 -0700
commit751a587ac9f9a8bf314590fbac32d9e418060c5a (patch)
tree9ddb90651ebd72777150a6af48f22f7f088b71fb /net/compat.c
parentMerge tag 'linux-can-next-for-4.3-20150820' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next (diff)
downloadlinux-dev-751a587ac9f9a8bf314590fbac32d9e418060c5a.tar.xz
linux-dev-751a587ac9f9a8bf314590fbac32d9e418060c5a.zip
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 <fengguang.wu@intel.com> Fixes: 61adedf3e3f1 ("route: move lwtunnel state to dst_entry") Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions