The logic for blackhole processing does not free mbufs if the

blackhole flag is set.

PR:		14958
Submitted by:	Larry Baird <lab@gta.com>
Reviewed by:	phk
This commit is contained in:
Poul-Henning Kamp 1999-11-17 20:57:49 +00:00
parent 0e98576f36
commit 12b4fd063c

View File

@ -307,6 +307,8 @@ udp_input(m, iphlen)
#endif
if (!blackhole)
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0);
else
goto bad;
return;
}