commit | 41135cc836a1abeb12ca1416bdb29e87ad021153 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Mon Sep 14 12:22:28 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 14 17:03:05 2009 -0700 |
tree | 01c402f2fb9ac494dc3655a17e92072b170b7c1f | |
parent | 32613090a96dba2ca2cc524c8d4749d3126fdde5 [diff] [blame] |
net: constify struct inet6_protocol Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c index 86f42a2..c1589e2 100644 --- a/net/ipv6/ah6.c +++ b/net/ipv6/ah6.c
@@ -527,7 +527,7 @@ .hdr_offset = xfrm6_find_1stfragopt, }; -static struct inet6_protocol ah6_protocol = { +static const struct inet6_protocol ah6_protocol = { .handler = xfrm6_rcv, .err_handler = ah6_err, .flags = INET6_PROTO_NOPOLICY,