Unreachable code when in "__Userspace__"
@@ -4146,12 +4146,15 @@ sctp_inpcb_free(struct sctp_inpcb *inp, int immediate, int from)
SCTP_INP_INFO_WUNLOCK();
return;
}
+
+#if !defined(__Userspace__)
if (SCTP_INP_LOCK_CONTENDED(inp))
being_refed++;
if (SCTP_INP_READ_CONTENDED(inp))
being_refed++;
if (SCTP_ASOC_CREATE_LOCK_CONTENDED(inp))
being_refed++;
+#endif
if ((inp->refcount) ||
(being_refed) ||
