summaryrefslogtreecommitdiff
path: root/libexec/spamd
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-10-18 17:01:15 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-10-18 17:01:15 +0000
commit36821cb22128b4c947eb7618266688578ce46c0c (patch)
treea763e4ca126724df4853ca386647214dee8a7e72 /libexec/spamd
parenta2aaffa52384e8feb4dc3b454e1230c313c48e49 (diff)
When reusing an mbuf at the upper end of the network stack, strip
off the mbuf properties with m_resethdr(). It is a new packet, especially M_LOOP indicating that it was running through lo(4) should be cleared. Use the ph_loopcnt to prevent looping at the upper end of the stack. Although not strictly necessary in icmp reflect, it is a good idea to increase and check the counter here, like in socket splicing. OK mpi@ sashan@
Diffstat (limited to 'libexec/spamd')
0 files changed, 0 insertions, 0 deletions