The mbuf header cleanup in revision 1.173 of ip_icmp.c was too
authorbluhm <bluhm@openbsd.org>
Mon, 26 Jul 2021 20:44:44 +0000 (20:44 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 26 Jul 2021 20:44:44 +0000 (20:44 +0000)
commit8831ce958a73402383b566dc1aa3ab9b97c46475
tree5709ba26d68b49aa13f3c1d5f8302660f75cd997
parentbe25a06fbcd8fd2342414a3556e614284a35c14a
The mbuf header cleanup in revision 1.173 of ip_icmp.c was too
strict.  ICMP error packets generated by pf were not passed
immediately, but could be blocked.  Preserve PF_TAG_GENERATED flag
in icmp_reflect() and icmp6_reflect().
reported by sf@; OK patrick@ kn@
sys/netinet/ip_icmp.c
sys/netinet6/icmp6.c