Fix a bug which only shows up when an mbuf allocation failed.
Therefore chances are low that we hit this. Reported by: Coverity CID: 1018886 MFC after: 1 week
This commit is contained in:
parent
7075482d4a
commit
e1600e5058
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277350
@ -7420,7 +7420,7 @@ sctp_move_to_outqueue(struct sctp_tcb *stcb,
|
||||
SCTP_TCB_SEND_LOCK(stcb);
|
||||
send_lock_up = 1;
|
||||
}
|
||||
if (chk->data == NULL) {
|
||||
if (sp->data == NULL) {
|
||||
/* unsteal the data */
|
||||
sp->data = chk->data;
|
||||
sp->tail_mbuf = chk->last_mbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user