Fix a copy and paste error introduced in r360878.

Reported-by:		syzbot+a0863e972771f2f0d4b3@syzkaller.appspotmail.com
Reported-by:		syzbot+4481757e967ba83c445a@syzkaller.appspotmail.com
MFC after:		3 days
This commit is contained in:
Michael Tuexen 2020-05-11 22:47:20 +00:00
parent 844b743d31
commit 86fd36c502
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360942

View File

@ -5225,7 +5225,7 @@ sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length,
auth_skipped = 0;
}
/* Restart the timer if we have pending data */
TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) {
TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) {
if (chk->whoTo != NULL) {
break;
}