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/dccp | |
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/dccp')
-rw-r--r-- | net/dccp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 64f011cc4491..364bfc76c29e 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -1152,7 +1152,7 @@ static struct proto dccp_v6_prot = { | |||
1152 | #endif | 1152 | #endif |
1153 | }; | 1153 | }; |
1154 | 1154 | ||
1155 | static struct inet6_protocol dccp_v6_protocol = { | 1155 | static const struct inet6_protocol dccp_v6_protocol = { |
1156 | .handler = dccp_v6_rcv, | 1156 | .handler = dccp_v6_rcv, |
1157 | .err_handler = dccp_v6_err, | 1157 | .err_handler = dccp_v6_err, |
1158 | .flags = INET6_PROTO_NOPOLICY | INET6_PROTO_FINAL, | 1158 | .flags = INET6_PROTO_NOPOLICY | INET6_PROTO_FINAL, |