]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sctp/ipv6.c
net: constify struct inet6_protocol
[net-next-2.6.git] / net / sctp / ipv6.c
index 6a4b19094143653ab79a43de52d916fd8ed2a0f0..bb280e60e00a9f23c93ae1047ef1934af62ad81c 100644 (file)
@@ -949,7 +949,7 @@ static int sctp6_rcv(struct sk_buff *skb)
        return sctp_rcv(skb) ? -1 : 0;
 }
 
-static struct inet6_protocol sctpv6_protocol = {
+static const struct inet6_protocol sctpv6_protocol = {
        .handler      = sctp6_rcv,
        .err_handler  = sctp_v6_err,
        .flags        = INET6_PROTO_NOPOLICY | INET6_PROTO_FINAL,