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/udp.c b/net/ipv6/udp.c index 1640406..b265b70 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c
@@ -1172,7 +1172,7 @@ return segs; } -static struct inet6_protocol udpv6_protocol = { +static const struct inet6_protocol udpv6_protocol = { .handler = udpv6_rcv, .err_handler = udpv6_err, .gso_send_check = udp6_ufo_send_check,