summaryrefslogtreecommitdiff
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2018-10-18 01:36:27 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2018-10-18 01:36:27 +0000
commit7ec27ebf39419a542f233f200b10189edb471ad7 (patch)
treefb0482575bc35590f07db694c560ba141270b8dc /sys/net/pf_ioctl.c
parent8bdde859a6ede9328df1d435ff5b4e45fcbf8503 (diff)
Process incoming gre(4) keepalives early to avoid bpf seeing them.
The packet processing done after the protocol detection effectively gets thrown away by the keepalive handling, so this saves some time, and avoids confusing tcpdump on the interface. Keepalives the driver transmits aren't made available for bpf, so taking it away from the receive side is consistent. discussed with and tested by markus@
Diffstat (limited to 'sys/net/pf_ioctl.c')
0 files changed, 0 insertions, 0 deletions