summaryrefslogtreecommitdiffstats
path: root/net/ipv6/mip6.c
diff options
context:
space:
mode:
authorEric Dumazet2008-01-31 04:11:50 +0100
committerDavid S. Miller2008-02-01 04:27:20 +0100
commit533cb5b0a63f28ecab5503cfceb77e641fa7f7c4 (patch)
tree62e7d7c65776c5fb30a8ff10fb3049e63257331c /net/ipv6/mip6.c
parent[NETNS]: Add missing initialization of nl_info.nl_net in rtm_to_fib6_config() (diff)
downloadkernel-qcow2-linux-533cb5b0a63f28ecab5503cfceb77e641fa7f7c4.tar.gz
kernel-qcow2-linux-533cb5b0a63f28ecab5503cfceb77e641fa7f7c4.tar.xz
kernel-qcow2-linux-533cb5b0a63f28ecab5503cfceb77e641fa7f7c4.zip
[XFRM]: constify 'struct xfrm_type'
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mip6.c')
-rw-r--r--net/ipv6/mip6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/mip6.c b/net/ipv6/mip6.c
index 49d396620eac..cd8a5bda13cd 100644
--- a/net/ipv6/mip6.c
+++ b/net/ipv6/mip6.c
@@ -330,7 +330,7 @@ static void mip6_destopt_destroy(struct xfrm_state *x)
{
}
-static struct xfrm_type mip6_destopt_type =
+static const struct xfrm_type mip6_destopt_type =
{
.description = "MIP6DESTOPT",
.owner = THIS_MODULE,
@@ -462,7 +462,7 @@ static void mip6_rthdr_destroy(struct xfrm_state *x)
{
}
-static struct xfrm_type mip6_rthdr_type =
+static const struct xfrm_type mip6_rthdr_type =
{
.description = "MIP6RT",
.owner = THIS_MODULE,