Fix a panic introduced in rev 1.126.

Approved by: re (rwatson)
This commit is contained in:
Mike Silbersack 2007-07-28 20:13:40 +00:00
parent c44b9f1811
commit e3020cfd3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171643

View File

@ -970,7 +970,7 @@ syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
INP_INFO_WLOCK_ASSERT(&tcbinfo);
INP_LOCK_ASSERT(inp); /* listen socket */
KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK,
KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN,
("%s: unexpected tcp flags", __func__));
/*