Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183729
b: refs/heads/master
c: e754834
h: refs/heads/master
i:
  183727: 45b8d63
v: v3
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Jan 23, 2010
1 parent 6ae05cd commit 11e2dca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5833929cc2ad2b3064b4fac8c44e293972d240d8
refs/heads/master: e754834e65220b2b674c55c3b6dfb2fb1a2804d0
2 changes: 1 addition & 1 deletion trunk/include/net/icmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct icmp_err {
unsigned fatal:1;
};

extern struct icmp_err icmp_err_convert[];
extern const struct icmp_err icmp_err_convert[];
#define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field)
#define ICMP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->mib.icmp_statistics, field)
#define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmpmsg_statistics, field+256)
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct icmp_bxm {
/* An array of errno for error messages from dest unreach. */
/* RFC 1122: 3.2.2.1 States that NET_UNREACH, HOST_UNREACH and SR_FAILED MUST be considered 'transient errs'. */

struct icmp_err icmp_err_convert[] = {
const struct icmp_err icmp_err_convert[] = {
{
.errno = ENETUNREACH, /* ICMP_NET_UNREACH */
.fatal = 0,
Expand Down

0 comments on commit 11e2dca

Please sign in to comment.