summaryrefslogtreecommitdiffstats
path: root/net/ipv4/esp4.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-01-31 04:11:50 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-01 04:27:20 +0100
commit533cb5b0a63f28ecab5503cfceb77e641fa7f7c4 (patch)
tree62e7d7c65776c5fb30a8ff10fb3049e63257331c /net/ipv4/esp4.c
parent[NETNS]: Add missing initialization of nl_info.nl_net in rtm_to_fib6_config() (diff)
downloadlinux-533cb5b0a63f28ecab5503cfceb77e641fa7f7c4.tar.xz
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/ipv4/esp4.c')
-rw-r--r--net/ipv4/esp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c
index fac4f102c9f9..258d17631b4b 100644
--- a/net/ipv4/esp4.c
+++ b/net/ipv4/esp4.c
@@ -600,7 +600,7 @@ error:
return err;
}
-static struct xfrm_type esp_type =
+static const struct xfrm_type esp_type =
{
.description = "ESP4",
.owner = THIS_MODULE,