Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147039202
D44479.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
536 B
Referenced Files
None
Subscribers
None
D44479.id.diff
View Options
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -341,10 +341,8 @@
}
/* Finally, do rate limitation check. */
- if (icmp6_ratelimit(&oip6->ip6_src, type, code)) {
- ICMP6STAT_INC(icp6s_toofreq);
+ if (icmp6_ratelimit(&oip6->ip6_src, type, code))
goto freeit;
- }
/*
* OK, ICMP6 can be generated.
@@ -2744,6 +2742,7 @@
V_icmp6errppslim)) {
/* The packet is subject to rate limit */
ret++;
+ ICMP6STAT_INC(icp6s_toofreq);
}
return ret;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 8:04 PM (16 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29415580
Default Alt Text
D44479.id.diff (536 B)
Attached To
Mode
D44479: icmp6: make icmp6_ratelimit() responsible to update the stats counter
Attached
Detach File
Event Timeline
Log In to Comment