diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 4 | ||||
-rw-r--r-- | net/ipv6/tunnel6.c | 4 | ||||
-rw-r--r-- | net/ipv6/xfrm6_tunnel.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 0fd027f3f47e..29f99dd75bc6 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -1372,13 +1372,13 @@ static void __net_init ip6_fb_tnl_dev_init(struct net_device *dev) | |||
1372 | ip6n->tnls_wc[0] = t; | 1372 | ip6n->tnls_wc[0] = t; |
1373 | } | 1373 | } |
1374 | 1374 | ||
1375 | static struct xfrm6_tunnel ip4ip6_handler = { | 1375 | static struct xfrm6_tunnel ip4ip6_handler __read_mostly = { |
1376 | .handler = ip4ip6_rcv, | 1376 | .handler = ip4ip6_rcv, |
1377 | .err_handler = ip4ip6_err, | 1377 | .err_handler = ip4ip6_err, |
1378 | .priority = 1, | 1378 | .priority = 1, |
1379 | }; | 1379 | }; |
1380 | 1380 | ||
1381 | static struct xfrm6_tunnel ip6ip6_handler = { | 1381 | static struct xfrm6_tunnel ip6ip6_handler __read_mostly = { |
1382 | .handler = ip6ip6_rcv, | 1382 | .handler = ip6ip6_rcv, |
1383 | .err_handler = ip6ip6_err, | 1383 | .err_handler = ip6ip6_err, |
1384 | .priority = 1, | 1384 | .priority = 1, |
diff --git a/net/ipv6/tunnel6.c b/net/ipv6/tunnel6.c index fc3c86a47452..d203e6df1f8b 100644 --- a/net/ipv6/tunnel6.c +++ b/net/ipv6/tunnel6.c | |||
@@ -30,8 +30,8 @@ | |||
30 | #include <net/protocol.h> | 30 | #include <net/protocol.h> |
31 | #include <net/xfrm.h> | 31 | #include <net/xfrm.h> |
32 | 32 | ||
33 | static struct xfrm6_tunnel *tunnel6_handlers; | 33 | static struct xfrm6_tunnel *tunnel6_handlers __read_mostly; |
34 | static struct xfrm6_tunnel *tunnel46_handlers; | 34 | static struct xfrm6_tunnel *tunnel46_handlers __read_mostly; |
35 | static DEFINE_MUTEX(tunnel6_mutex); | 35 | static DEFINE_MUTEX(tunnel6_mutex); |
36 | 36 | ||
37 | int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family) | 37 | int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family) |
diff --git a/net/ipv6/xfrm6_tunnel.c b/net/ipv6/xfrm6_tunnel.c index 2ce3a8278f26..ac7584b946a5 100644 --- a/net/ipv6/xfrm6_tunnel.c +++ b/net/ipv6/xfrm6_tunnel.c | |||
@@ -317,13 +317,13 @@ static const struct xfrm_type xfrm6_tunnel_type = { | |||
317 | .output = xfrm6_tunnel_output, | 317 | .output = xfrm6_tunnel_output, |
318 | }; | 318 | }; |
319 | 319 | ||
320 | static struct xfrm6_tunnel xfrm6_tunnel_handler = { | 320 | static struct xfrm6_tunnel xfrm6_tunnel_handler __read_mostly = { |
321 | .handler = xfrm6_tunnel_rcv, | 321 | .handler = xfrm6_tunnel_rcv, |
322 | .err_handler = xfrm6_tunnel_err, | 322 | .err_handler = xfrm6_tunnel_err, |
323 | .priority = 2, | 323 | .priority = 2, |
324 | }; | 324 | }; |
325 | 325 | ||
326 | static struct xfrm6_tunnel xfrm46_tunnel_handler = { | 326 | static struct xfrm6_tunnel xfrm46_tunnel_handler __read_mostly = { |
327 | .handler = xfrm6_tunnel_rcv, | 327 | .handler = xfrm6_tunnel_rcv, |
328 | .err_handler = xfrm6_tunnel_err, | 328 | .err_handler = xfrm6_tunnel_err, |
329 | .priority = 2, | 329 | .priority = 2, |