diff options
| author | Steve French <sfrench@us.ibm.com> | 2005-11-29 23:56:07 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2005-11-29 23:56:07 -0500 |
| commit | 606c0dafbe88102d64c1253caed8a2c36987070f (patch) | |
| tree | 23ce7b30341e71c6da8e0183d27e29167e833e26 /net/ipv4/icmp.c | |
| parent | 6ab16d249513a50bef3f1b275cea6aa8d3f51832 (diff) | |
| parent | d2ef5ebb4c4fe141a82252d4db8d8521e6765c5a (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'net/ipv4/icmp.c')
| -rw-r--r-- | net/ipv4/icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index e3eceecd0496..92e23b2ad4d2 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c | |||
| @@ -220,7 +220,7 @@ struct icmp_control { | |||
| 220 | short error; /* This ICMP is classed as an error message */ | 220 | short error; /* This ICMP is classed as an error message */ |
| 221 | }; | 221 | }; |
| 222 | 222 | ||
| 223 | static struct icmp_control icmp_pointers[NR_ICMP_TYPES+1]; | 223 | static const struct icmp_control icmp_pointers[NR_ICMP_TYPES+1]; |
| 224 | 224 | ||
| 225 | /* | 225 | /* |
| 226 | * The ICMP socket(s). This is the most convenient way to flow control | 226 | * The ICMP socket(s). This is the most convenient way to flow control |
| @@ -994,7 +994,7 @@ error: | |||
| 994 | /* | 994 | /* |
| 995 | * This table is the definition of how we handle ICMP. | 995 | * This table is the definition of how we handle ICMP. |
| 996 | */ | 996 | */ |
| 997 | static struct icmp_control icmp_pointers[NR_ICMP_TYPES + 1] = { | 997 | static const struct icmp_control icmp_pointers[NR_ICMP_TYPES + 1] = { |
| 998 | [ICMP_ECHOREPLY] = { | 998 | [ICMP_ECHOREPLY] = { |
| 999 | .output_entry = ICMP_MIB_OUTECHOREPS, | 999 | .output_entry = ICMP_MIB_OUTECHOREPS, |
| 1000 | .input_entry = ICMP_MIB_INECHOREPS, | 1000 | .input_entry = ICMP_MIB_INECHOREPS, |
