diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-30 22:11:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:27:20 -0500 |
commit | 533cb5b0a63f28ecab5503cfceb77e641fa7f7c4 (patch) | |
tree | 62e7d7c65776c5fb30a8ff10fb3049e63257331c /net/ipv4 | |
parent | 2216b48376c40cf6984398d478a01b55e76c5434 (diff) |
[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')
-rw-r--r-- | net/ipv4/ah4.c | 2 | ||||
-rw-r--r-- | net/ipv4/esp4.c | 2 | ||||
-rw-r--r-- | net/ipv4/ipcomp.c | 2 | ||||
-rw-r--r-- | net/ipv4/xfrm4_tunnel.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/ah4.c b/net/ipv4/ah4.c index d76803a3dcae..9d4555ec0b59 100644 --- a/net/ipv4/ah4.c +++ b/net/ipv4/ah4.c | |||
@@ -300,7 +300,7 @@ static void ah_destroy(struct xfrm_state *x) | |||
300 | } | 300 | } |
301 | 301 | ||
302 | 302 | ||
303 | static struct xfrm_type ah_type = | 303 | static const struct xfrm_type ah_type = |
304 | { | 304 | { |
305 | .description = "AH4", | 305 | .description = "AH4", |
306 | .owner = THIS_MODULE, | 306 | .owner = THIS_MODULE, |
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: | |||
600 | return err; | 600 | return err; |
601 | } | 601 | } |
602 | 602 | ||
603 | static struct xfrm_type esp_type = | 603 | static const struct xfrm_type esp_type = |
604 | { | 604 | { |
605 | .description = "ESP4", | 605 | .description = "ESP4", |
606 | .owner = THIS_MODULE, | 606 | .owner = THIS_MODULE, |
diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c index b79cdbee68a9..ae1f45fc23b9 100644 --- a/net/ipv4/ipcomp.c +++ b/net/ipv4/ipcomp.c | |||
@@ -437,7 +437,7 @@ error: | |||
437 | goto out; | 437 | goto out; |
438 | } | 438 | } |
439 | 439 | ||
440 | static struct xfrm_type ipcomp_type = { | 440 | static const struct xfrm_type ipcomp_type = { |
441 | .description = "IPCOMP4", | 441 | .description = "IPCOMP4", |
442 | .owner = THIS_MODULE, | 442 | .owner = THIS_MODULE, |
443 | .proto = IPPROTO_COMP, | 443 | .proto = IPPROTO_COMP, |
diff --git a/net/ipv4/xfrm4_tunnel.c b/net/ipv4/xfrm4_tunnel.c index 326845195620..87f77e412ba2 100644 --- a/net/ipv4/xfrm4_tunnel.c +++ b/net/ipv4/xfrm4_tunnel.c | |||
@@ -38,7 +38,7 @@ static void ipip_destroy(struct xfrm_state *x) | |||
38 | { | 38 | { |
39 | } | 39 | } |
40 | 40 | ||
41 | static struct xfrm_type ipip_type = { | 41 | static const struct xfrm_type ipip_type = { |
42 | .description = "IPIP", | 42 | .description = "IPIP", |
43 | .owner = THIS_MODULE, | 43 | .owner = THIS_MODULE, |
44 | .proto = IPPROTO_IPIP, | 44 | .proto = IPPROTO_IPIP, |