Remove one unneded assertion. It is also checked in

ng_l2tp_seq_check().

Approved by:	glebius (mentor)
This commit is contained in:
Alexander Motin 2007-10-12 04:54:43 +00:00
parent bf741e4d08
commit 058ef12167
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172564

View File

@ -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);