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:
parent
32613090a9
commit
41135cc836
17 changed files with 29 additions and 33 deletions
|
@ -558,7 +558,7 @@ static const struct xfrm_type esp6_type =
|
|||
.hdr_offset = xfrm6_find_1stfragopt,
|
||||
};
|
||||
|
||||
static struct inet6_protocol esp6_protocol = {
|
||||
static const struct inet6_protocol esp6_protocol = {
|
||||
.handler = xfrm6_rcv,
|
||||
.err_handler = esp6_err,
|
||||
.flags = INET6_PROTO_NOPOLICY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue