Remove one unneded assertion. It is also checked in
ng_l2tp_seq_check(). Approved by: glebius (mentor)
This commit is contained in:
parent
bf741e4d08
commit
058ef12167
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172564
@ -1030,11 +1030,6 @@ ng_l2tp_rcvdata_ctrl(hook_p hook, item_p item)
|
||||
}
|
||||
seq->xwin[i] = m;
|
||||
|
||||
/* Sanity check receive ack timer state */
|
||||
KASSERT((i == 0) ^ callout_active(&seq->rack_timer),
|
||||
("%s: xwin %d full but rack timer %s running",
|
||||
__func__, i, callout_active(&seq->rack_timer) ? "" : "not "));
|
||||
|
||||
/* If peer's receive window is already full, nothing else to do */
|
||||
if (i >= seq->cwnd)
|
||||
ERROUT(0);
|
||||
|
Loading…
Reference in New Issue
Block a user