mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
net: constify struct inet6_protocol
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
32613090a9
commit
41135cc836
17 changed files with 29 additions and 33 deletions
|
|
@ -949,7 +949,7 @@ static int sctp6_rcv(struct sk_buff *skb)
|
|||
return sctp_rcv(skb) ? -1 : 0;
|
||||
}
|
||||
|
||||
static struct inet6_protocol sctpv6_protocol = {
|
||||
static const struct inet6_protocol sctpv6_protocol = {
|
||||
.handler = sctp6_rcv,
|
||||
.err_handler = sctp_v6_err,
|
||||
.flags = INET6_PROTO_NOPOLICY | INET6_PROTO_FINAL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue