diff options
| author | Michael Tuexen <tuexen@fh-muenster.de> | 2022-04-02 15:45:02 +0200 |
|---|---|---|
| committer | Michael Tuexen <tuexen@fh-muenster.de> | 2022-04-02 15:45:02 +0200 |
| commit | 121b5f7ebbbc8d5b0025224619311289e4e00b49 (patch) | |
| tree | ca28d835b32ad5c84433abbf8d55c28bf56d1065 | |
| parent | 276362aafa017bed5ea9fa4cbfdc01debbf94724 (diff) | |
Remove a test which is unsafe
| -rwxr-xr-x | usrsctplib/netinet/sctp_output.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/usrsctplib/netinet/sctp_output.c b/usrsctplib/netinet/sctp_output.c index 39fcff3..a371a97 100755 --- a/usrsctplib/netinet/sctp_output.c +++ b/usrsctplib/netinet/sctp_output.c @@ -14784,13 +14784,6 @@ out_unlocked: if (free_cnt_applied) { atomic_subtract_int(&asoc->refcnt, 1); } -#ifdef INVARIANTS -#if defined(__FreeBSD__) && !defined(__Userspace__) - if (mtx_owned(&stcb->tcb_mtx)) { - panic("Leaving with tcb mtx owned?"); - } -#endif -#endif } if (top != NULL) { sctp_m_freem(top); |
