Do not call icmp_error() if ipfirewall(4) denied packet.
PR: kern/10747, kern/18382
This commit is contained in:
parent
0e2e66b060
commit
3a06e3e02c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user