30c30
< * $FreeBSD: head/sys/netinet/tcp_input.c 147637 2005-06-27 22:27:42Z ps $
---
> * $FreeBSD: head/sys/netinet/tcp_input.c 147666 2005-06-29 21:36:49Z simon $
1085c1085
< if (thflags & TH_SYN) {
---
> if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) {
< * $FreeBSD: head/sys/netinet/tcp_input.c 147637 2005-06-27 22:27:42Z ps $
---
> * $FreeBSD: head/sys/netinet/tcp_input.c 147666 2005-06-29 21:36:49Z simon $
1085c1085
< if (thflags & TH_SYN) {
---
> if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) {