summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Roth <gerhard@cvs.openbsd.org>2013-10-11 10:58:43 +0000
committerGerhard Roth <gerhard@cvs.openbsd.org>2013-10-11 10:58:43 +0000
commit9f24836f938817bbc4d4265c145361b253afea2b (patch)
treedabd321f028aa1a3970b1efff70a57598bc47150
parent0b231df2af8e9bf29dc51be87068e923844faca6 (diff)
Prevent non-data packets from being dropped.
ok bluhm@ mikeb@
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 78d63d304d2..eed83413c25 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.841 2013/10/09 09:32:01 camield Exp $ */
+/* $OpenBSD: pf.c,v 1.842 2013/10/11 10:58:42 gerhard Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -3940,7 +3940,7 @@ pf_tcp_track_full(struct pf_pdesc *pd, struct pf_state_peer *src,
if (seq == end) {
/* Ease sequencing restrictions on no data packets */
seq = src->seqlo;
- end = seq;
+ data_end = end = seq;
}
ackskew = dst->seqlo - ack;