CVSROOT: /cvs Module name: src Changes by: proc...@cvs.openbsd.org 2020/07/04 00:06:16
Modified files: sys/net : if_wg.c Log message: Permit the stack to check transport and network checksums. Although the link provides stronger integrity checks, it needn't cover the end-to-end transport path. And it is in any case a layer violation for one layer to disable the checks of another. Skipping the network check saved ~2.4% +/- ~0.2% of cp_time (sys+intr) on the forwarding path of a 1Ghz AMD G-T40N (apu1). Other checksum speedups exist which do not skip the check. ok claudio@ kn@ stsp@