net: constify struct inet6_protocol
[deliverable/linux.git] / net / ipv6 / tunnel6.c
index 633ad789effc12d0000c9ec3bb2c76192bfcee6e..51e2832d13a661ee862b0ec0cd2e200bc2f5c7dd 100644 (file)
@@ -133,13 +133,13 @@ static void tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
                        break;
 }
 
-static struct inet6_protocol tunnel6_protocol = {
+static const struct inet6_protocol tunnel6_protocol = {
        .handler        = tunnel6_rcv,
        .err_handler    = tunnel6_err,
        .flags          = INET6_PROTO_NOPOLICY|INET6_PROTO_FINAL,
 };
 
-static struct inet6_protocol tunnel46_protocol = {
+static const struct inet6_protocol tunnel46_protocol = {
        .handler        = tunnel46_rcv,
        .err_handler    = tunnel6_err,
        .flags          = INET6_PROTO_NOPOLICY|INET6_PROTO_FINAL,
This page took 0.03507 seconds and 5 git commands to generate.