projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a95f0
)
ipv6: fix ICMP6_MIB_OUTERRORS
author
Eric Dumazet
<eric.dumazet@gmail.com>
Mon, 7 Jun 2010 22:24:44 +0000
(22:24 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 10 Jun 2010 01:39:27 +0000
(18:39 -0700)
In commit
1f8438a85366
(icmp: Account for ICMP out errors), I did a typo
on IPV6 side, using ICMP6_MIB_OUTMSGS instead of ICMP6_MIB_OUTERRORS
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c
patch
|
blob
|
history
diff --git
a/net/ipv6/icmp.c
b/net/ipv6/icmp.c
index
ce79929
..
03e62f9
100644
(file)
--- a/
net/ipv6/icmp.c
+++ b/
net/ipv6/icmp.c
@@
-483,7
+483,7
@@
route_done:
np->tclass, NULL, &fl, (struct rt6_info*)dst,
MSG_DONTWAIT, np->dontfrag);
if (err) {
- ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUT
MSG
S);
+ ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUT
ERROR
S);
ip6_flush_pending_frames(sk);
goto out_put;
}
@@
-565,7
+565,7
@@
static void icmpv6_echo_reply(struct sk_buff *skb)
np->dontfrag);
if (err) {
- ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUT
MSG
S);
+ ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUT
ERROR
S);
ip6_flush_pending_frames(sk);
goto out_put;
}