diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/ipv6.c | 2 | ||||
-rw-r--r-- | net/sctp/protocol.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index fa3be2b8fb5f..15c05165c905 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -866,7 +866,7 @@ static int sctp_inet6_supported_addrs(const struct sctp_sock *opt, | |||
866 | return 2; | 866 | return 2; |
867 | } | 867 | } |
868 | 868 | ||
869 | static struct proto_ops inet6_seqpacket_ops = { | 869 | static const struct proto_ops inet6_seqpacket_ops = { |
870 | .family = PF_INET6, | 870 | .family = PF_INET6, |
871 | .owner = THIS_MODULE, | 871 | .owner = THIS_MODULE, |
872 | .release = inet6_release, | 872 | .release = inet6_release, |
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index f775d78aa59d..d1b0747a5b9d 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -829,7 +829,7 @@ static struct notifier_block sctp_inetaddr_notifier = { | |||
829 | }; | 829 | }; |
830 | 830 | ||
831 | /* Socket operations. */ | 831 | /* Socket operations. */ |
832 | static struct proto_ops inet_seqpacket_ops = { | 832 | static const struct proto_ops inet_seqpacket_ops = { |
833 | .family = PF_INET, | 833 | .family = PF_INET, |
834 | .owner = THIS_MODULE, | 834 | .owner = THIS_MODULE, |
835 | .release = inet_release, /* Needs to be wrapped... */ | 835 | .release = inet_release, /* Needs to be wrapped... */ |