mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
icmp: move icmp_err_convert[] to .rodata
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5833929cc2
commit
e754834e65
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue