|
@@ -58,14 +58,14 @@ static int xfrm_tunnel_err(struct sk_buff *skb, u32 info)
|
|
|
return -ENOENT;
|
|
|
}
|
|
|
|
|
|
-static struct xfrm_tunnel xfrm_tunnel_handler = {
|
|
|
+static struct xfrm_tunnel xfrm_tunnel_handler __read_mostly = {
|
|
|
.handler = xfrm_tunnel_rcv,
|
|
|
.err_handler = xfrm_tunnel_err,
|
|
|
.priority = 2,
|
|
|
};
|
|
|
|
|
|
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
|
|
|
-static struct xfrm_tunnel xfrm64_tunnel_handler = {
|
|
|
+static struct xfrm_tunnel xfrm64_tunnel_handler __read_mostly = {
|
|
|
.handler = xfrm_tunnel_rcv,
|
|
|
.err_handler = xfrm_tunnel_err,
|
|
|
.priority = 2,
|