net: constify struct inet6_protocol

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexey Dobriyan
2009-09-14 12:22:28 +00:00
committed by David S. Miller
parent 32613090a9
commit 41135cc836
17 changed files with 29 additions and 33 deletions

View File

@@ -1172,7 +1172,7 @@ out:
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,