Add a missing unlock for the inp lock when
returning early from sctp_add_to_readq(). Approved by: re, rrs (mentor) MFC after: 2 weeks.
This commit is contained in:
parent
b06555e4fc
commit
47a490cbbc
@ -4362,6 +4362,7 @@ sctp_add_to_readq(struct sctp_inpcb *inp,
|
||||
control->tail_mbuf = prev;
|
||||
} else {
|
||||
/* Everything got collapsed out?? */
|
||||
SCTP_INP_READ_UNLOCK(inp);
|
||||
return;
|
||||
}
|
||||
if (end) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user