Fix a panic introduced in rev 1.126.
Approved by: re (rwatson)
This commit is contained in:
parent
c44b9f1811
commit
e3020cfd3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171643
@ -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__));
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user