aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2002-08-04 20:50:13 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2002-08-04 20:50:13 +0000
commit1cbd978e96176e5cb8e785952ed34d1aba66b11d (patch)
treecdef12988fb863345d685d8e7a115b200c81f362 /sys/netinet
parentc3712ca9bfc054e9b9e9d8b914288dd6bc8fbf77 (diff)
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/udp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 37d15d02f659a..cc7a59c6044e7 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -387,10 +387,10 @@ udp_input(m, off)
udpstat.udps_noportbcast++;
goto badheadlocked;
}
- if (badport_bandlim(BANDLIM_ICMP_UNREACH) < 0)
- goto badheadlocked;
if (blackhole)
goto badheadlocked;
+ if (badport_bandlim(BANDLIM_ICMP_UNREACH) < 0)
+ goto badheadlocked;
*ip = save_ip;
ip->ip_len += iphlen;
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0);