diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-14 08:22:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-14 20:03:05 -0400 |
commit | 41135cc836a1abeb12ca1416bdb29e87ad021153 (patch) | |
tree | 01c402f2fb9ac494dc3655a17e92072b170b7c1f /net/sctp/ipv6.c | |
parent | 32613090a96dba2ca2cc524c8d4749d3126fdde5 (diff) |
net: constify struct inet6_protocol
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 6a4b19094143..bb280e60e00a 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -949,7 +949,7 @@ static int sctp6_rcv(struct sk_buff *skb) | |||
949 | return sctp_rcv(skb) ? -1 : 0; | 949 | return sctp_rcv(skb) ? -1 : 0; |
950 | } | 950 | } |
951 | 951 | ||
952 | static struct inet6_protocol sctpv6_protocol = { | 952 | static const struct inet6_protocol sctpv6_protocol = { |
953 | .handler = sctp6_rcv, | 953 | .handler = sctp6_rcv, |
954 | .err_handler = sctp_v6_err, | 954 | .err_handler = sctp_v6_err, |
955 | .flags = INET6_PROTO_NOPOLICY | INET6_PROTO_FINAL, | 955 | .flags = INET6_PROTO_NOPOLICY | INET6_PROTO_FINAL, |