diff options
author | ru <ru@FreeBSD.org> | 2000-05-15 18:41:01 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-05-15 18:41:01 +0000 |
commit | b3014de216747b1beeca21eb20974a5efc208c78 (patch) | |
tree | 56b6a759fe028576d07a5245ca50123d5d4e417e /sys/netinet/ip_input.c | |
parent | 03282189fc783d0497b09b03ddeff8252046b01f (diff) | |
download | FreeBSD-src-b3014de216747b1beeca21eb20974a5efc208c78.zip FreeBSD-src-b3014de216747b1beeca21eb20974a5efc208c78.tar.gz |
Do not call icmp_error() if ipfirewall(4) denied packet.
PR: kern/10747, kern/18382
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r-- | sys/netinet/ip_input.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 683a767..b3d3c4a 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1649,6 +1649,10 @@ ip_forward(m, srcrt) type = ICMP_SOURCEQUENCH; code = 0; break; + + case EACCES: /* ipfw denied packet */ + m_freem(mcopy); + return; } icmp_error(mcopy, type, code, dest, destifp); } |