diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-10-18 01:36:27 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-10-18 01:36:27 +0000 |
commit | 7ec27ebf39419a542f233f200b10189edb471ad7 (patch) | |
tree | fb0482575bc35590f07db694c560ba141270b8dc /sys/net/pf_ioctl.c | |
parent | 8bdde859a6ede9328df1d435ff5b4e45fcbf8503 (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