Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103541
b: refs/heads/master
c: f66ac03
h: refs/heads/master
i:
  103539: 0e16eaf
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Jul 15, 2008
1 parent 7750bc7 commit d843013
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: 903fc1964e746b8d8e2971ea20c89b7aeab8bd9a
refs/heads/master: f66ac03d497c162c70cd0ccc802ce1777073cdf3
2 changes: 1 addition & 1 deletion trunk/include/net/icmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ DECLARE_SNMP_STAT(struct icmpmsg_mib, icmpmsg_statistics);
#define ICMP_INC_STATS(net, field) SNMP_INC_STATS(icmp_statistics, field)
#define ICMP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH(icmp_statistics, field)
#define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS(icmpmsg_statistics, field+256)
#define ICMPMSGIN_INC_STATS_BH(field) SNMP_INC_STATS_BH(icmpmsg_statistics, field)
#define ICMPMSGIN_INC_STATS_BH(net, field) SNMP_INC_STATS_BH(icmpmsg_statistics, field)

struct dst_entry;
struct net_proto_family;
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 @@ -1012,7 +1012,7 @@ int icmp_rcv(struct sk_buff *skb)

icmph = icmp_hdr(skb);

ICMPMSGIN_INC_STATS_BH(icmph->type);
ICMPMSGIN_INC_STATS_BH(net, icmph->type);
/*
* 18 is the highest 'known' ICMP type. Anything else is a mystery
*
Expand Down

0 comments on commit d843013

Please sign in to comment.