aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-08-30 03:04:14 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-30 16:50:45 -0400
commit6dcd814bd08bc7989f7f3eac9bbe8b20aec0182a (patch)
treee8fcde2ef93efa62437aff893477098a1bf8b6a0 /net/ipv6/sit.c
parentc274f29120eff7852bb2370ae6f05f46de75edbc (diff)
net: struct xfrm_tunnel in read_mostly section
tunnel4_handlers chain being scanned for each incoming packet, make sure it doesnt share an often dirtied cache line. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r--net/ipv6/sit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 4699cd3c3118..86618eb30335 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1132,7 +1132,7 @@ static void __net_init ipip6_fb_tunnel_init(struct net_device *dev)
1132 sitn->tunnels_wc[0] = tunnel; 1132 sitn->tunnels_wc[0] = tunnel;
1133} 1133}
1134 1134
1135static struct xfrm_tunnel sit_handler = { 1135static struct xfrm_tunnel sit_handler __read_mostly = {
1136 .handler = ipip6_rcv, 1136 .handler = ipip6_rcv,
1137 .err_handler = ipip6_err, 1137 .err_handler = ipip6_err,
1138 .priority = 1, 1138 .priority = 1,