CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2018/10/17 19:36:26

Modified files:
        sys/net        : if_gre.c 

Log message:
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@

Reply via email to