HomeFreeBSD

MFC r285190:

Description

MFC r285190:

Fix if_loop so bpfwrite() can use it regardless of the state of
bd_hdrcmplt. As if_loop does not use link-level headers, its behavior
when used by bpfwrite() should be the same regardless of the state of
bd_hdrcmplt. Without this change, libpcap (and other BPF users that
work like it) fail when writing to loopback interfaces.

Approved by: re

Details

Provenance
pkelseyAuthored on
Parents
rS285604: MFC r285188:
Branches
Unknown
Tags
Unknown