Go to file
maxv fa6e6f537b Fix an inverted logic.
nbuf_cksum_barrier returns true when the direction is PFIL_OUT and TSO is
active; that is to say, it returns true when the checksum was already
recomputed by the function.

The check should be !nbuf_cksum_barrier, because otherwise we're wrongfully
checksumming twice, and it causes the packet to be kicked later in
tcp_input.

This can be seen with a configuration of the type:

	procedure "norm" {
		normalize: "max-mss" 15000
	}
	group default {
		pass all apply "norm"
	}

The packets systematically get dropped because the checksum validation in
tcp_input fails. With this patch in place, it works.
2018-04-07 09:20:25 +00:00
bin add -S to disable ! commands. 2018-04-05 18:44:57 +00:00
common Complete previous by complteley removing the _DIAGASSERT from memmove - 2018-02-12 11:14:15 +00:00
compat fix a comment. 2018-02-06 10:00:00 +00:00
crypto fix unconst 2018-04-07 00:36:55 +00:00
dist/pf fix two issues found by GCC 6.4: 2018-02-04 08:44:36 +00:00
distrib new openssh 2018-04-06 19:00:08 +00:00
doc new ntp 2018-04-07 00:22:27 +00:00
etc support xmss keys 2018-04-07 00:41:16 +00:00
external merge conflicts 2018-04-07 00:19:52 +00:00
extsrc
games wtf(6): use character classes 2018-03-07 08:25:43 +00:00
include Mark in string.h: memccpy(3) and strdup(3) as _POSIX_C_SOURCE >= 2001 2018-02-20 02:35:24 +00:00
lib note to get rid of statfs() when bump time comes 2018-04-06 17:03:59 +00:00
libexec Rework ifunc support to address a number of short comings: 2018-04-03 21:10:27 +00:00
regress Don't test call gates, they are not supported anymore. 2017-08-30 15:46:19 +00:00
rescue Extra flags for static PIE 2017-10-08 15:02:33 +00:00
sbin eat NUL's first so that the state machine is not altered by them. 2018-04-02 01:15:31 +00:00
share switch m68000 and m68k to GCC 6. ok mlelstv. 2018-04-05 22:38:58 +00:00
sys Fix an inverted logic. 2018-04-07 09:20:25 +00:00
tests Add tests for GARP without DAD 2018-04-06 09:23:36 +00:00
tools Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@) 2018-04-01 04:35:01 +00:00
usr.bin Pass -S to ed(1) so that patches containing ! commands don't run commands. 2018-04-05 18:50:10 +00:00
usr.sbin add commented out debugging options. 2018-04-01 23:00:40 +00:00
build.sh Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@) 2018-04-01 04:35:01 +00:00
BUILDING regen 2018-02-16 10:05:22 +00:00
Makefile include bsd.clean.mk so that we actually clean up the attempted "params" 2018-03-13 03:06:28 +00:00
Makefile.inc
UPDATING 20180311: 2018-03-11 11:18:06 +00:00