Project

General

Profile

Bug #15042 » 0002-pf-remove-incorrect-fragmentation-check.patch

Kristof Provost, 11/29/2023 06:12 PM

View differences:

sys/netpfil/pf/pf.c
5367 5367
	    (ackskew <= (MAXACKWINDOW << sws)) &&
5368 5368
	    /* Acking not more than one window forward */
5369 5369
	    ((th->th_flags & TH_RST) == 0 || orig_seq == src->seqlo ||
5370
	    (orig_seq == src->seqlo + 1) || (orig_seq + 1 == src->seqlo) ||
5371
	    (pd->flags & PFDESC_IP_REAS) == 0)) {
5370
	    (orig_seq == src->seqlo + 1) || (orig_seq + 1 == src->seqlo))) {
5372 5371
	    /* Require an exact/+1 sequence match on resets when possible */
5373 5372

  
5374 5373
		if (dst->scrub || src->scrub) {
(2-2/2)