CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/07/21 16:24:41
Modified files:
sys/net : if_loop.c
Log message:
Do not dump corrupted packets on loopback bpf.
lo(4) used to dump to bpf only for output. It seems that when
if_bpf_mtap() was introduced, this changed and lo(4) dumps an
additional truncated packet. The default bpf_mtap_ether() is not
suitable for lo(4).
Install a dummy lo_bpf_mtap() to suppress bpf on input.
OK mvs@
